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;
|
scheme = SIGN_RSA_EMSA_PKCS1_SHA3_384;
|
||||||
break;
|
break;
|
||||||
case HASH_SHA3_512:
|
case HASH_SHA3_512:
|
||||||
scheme = SIGN_RSA_EMSA_PKCS1_SHA2_512;
|
scheme = SIGN_RSA_EMSA_PKCS1_SHA3_512;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
scheme = SIGN_UNKNOWN;
|
scheme = SIGN_UNKNOWN;
|
||||||
|
|||||||
Reference in New Issue
Block a user