android: Identifiers for SHA2-base RSA signature schemes got renamed

Fixes: 40f2589abf ("gmp: Support of SHA-3 RSA signatures")
This commit is contained in:
Tobias Brunner
2016-10-11 15:29:14 +02:00
parent befe6e6c7e
commit 8b35d5f162
@@ -77,16 +77,16 @@ METHOD(private_key_t, sign, bool,
case SIGN_RSA_EMSA_PKCS1_SHA1: case SIGN_RSA_EMSA_PKCS1_SHA1:
method = "SHA1withRSA"; method = "SHA1withRSA";
break; break;
case SIGN_RSA_EMSA_PKCS1_SHA224: case SIGN_RSA_EMSA_PKCS1_SHA2_224:
method = "SHA224withRSA"; method = "SHA224withRSA";
break; break;
case SIGN_RSA_EMSA_PKCS1_SHA256: case SIGN_RSA_EMSA_PKCS1_SHA2_256:
method = "SHA256withRSA"; method = "SHA256withRSA";
break; break;
case SIGN_RSA_EMSA_PKCS1_SHA384: case SIGN_RSA_EMSA_PKCS1_SHA2_384:
method = "SHA384withRSA"; method = "SHA384withRSA";
break; break;
case SIGN_RSA_EMSA_PKCS1_SHA512: case SIGN_RSA_EMSA_PKCS1_SHA2_512:
method = "SHA512withRSA"; method = "SHA512withRSA";
break; break;
default: default: