libimcv: Fix typo in PTS hash algorithm mapping for 512-bit SHA-3

Fixes: 40f2589abf ("gmp: Support of SHA-3 RSA signatures")
This commit is contained in:
Tobias Brunner
2018-03-02 08:30:13 +01:00
parent 2f5d6be5a0
commit cdfa0ba4d1
+1 -1
View File
@@ -734,7 +734,7 @@ METHOD(pts_t, verify_quote_signature, bool,
scheme = SIGN_RSA_EMSA_PKCS1_SHA3_384;
break;
case HASH_SHA3_512:
scheme = SIGN_RSA_EMSA_PKCS1_SHA2_512;
scheme = SIGN_RSA_EMSA_PKCS1_SHA3_512;
break;
default:
scheme = SIGN_UNKNOWN;