aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-10-10 17:52:35 +0200
committerTobias Brunner <tobias@strongswan.org>2016-10-11 15:29:14 +0200
commit8b35d5f162ed57a0a9d6f0bacb3e5d2b9dc29c58 (patch)
tree47140d956dc797e7749c98465dfb3ff95ced012b
parentbefe6e6c7ea38890eba187f38e3ae92aedef3495 (diff)
downloadstrongswan-8b35d5f162ed57a0a9d6f0bacb3e5d2b9dc29c58.tar.bz2
strongswan-8b35d5f162ed57a0a9d6f0bacb3e5d2b9dc29c58.tar.xz
android: Identifiers for SHA2-base RSA signature schemes got renamed
Fixes: 40f2589abfc8 ("gmp: Support of SHA-3 RSA signatures")
-rw-r--r--src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_private_key.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_private_key.c b/src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_private_key.c
index 769ea3f31..d1f1bcb4e 100644
--- a/src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_private_key.c
+++ b/src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_private_key.c
@@ -77,16 +77,16 @@ METHOD(private_key_t, sign, bool,
case SIGN_RSA_EMSA_PKCS1_SHA1:
method = "SHA1withRSA";
break;
- case SIGN_RSA_EMSA_PKCS1_SHA224:
+ case SIGN_RSA_EMSA_PKCS1_SHA2_224:
method = "SHA224withRSA";
break;
- case SIGN_RSA_EMSA_PKCS1_SHA256:
+ case SIGN_RSA_EMSA_PKCS1_SHA2_256:
method = "SHA256withRSA";
break;
- case SIGN_RSA_EMSA_PKCS1_SHA384:
+ case SIGN_RSA_EMSA_PKCS1_SHA2_384:
method = "SHA384withRSA";
break;
- case SIGN_RSA_EMSA_PKCS1_SHA512:
+ case SIGN_RSA_EMSA_PKCS1_SHA2_512:
method = "SHA512withRSA";
break;
default: