From cdfa0ba4d1b6c794326134c619beab52e65715e9 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 2 Mar 2018 08:29:34 +0100 Subject: [PATCH] libimcv: Fix typo in PTS hash algorithm mapping for 512-bit SHA-3 Fixes: 40f2589abfc8 ("gmp: Support of SHA-3 RSA signatures") --- src/libimcv/pts/pts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libimcv/pts/pts.c b/src/libimcv/pts/pts.c index 09ffd7160..3cf439f35 100644 --- a/src/libimcv/pts/pts.c +++ b/src/libimcv/pts/pts.c @@ -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;