android: Identifiers for SHA2-base RSA signature schemes got renamed
authorTobias Brunner <tobias@strongswan.org>
Mon, 10 Oct 2016 15:52:35 +0000 (17:52 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 11 Oct 2016 13:29:14 +0000 (15:29 +0200)
Fixes: 40f2589abfc8 ("gmp: Support of SHA-3 RSA signatures")

src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_private_key.c

index 769ea3f..d1f1bcb 100644 (file)
@@ -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: