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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user