From c1ea7477926402ffe8ab21f7d9fa993c6148799f Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 10 Sep 2017 21:42:43 +0200 Subject: [PATCH] evp/m_sha3.c: wire SHA3 to rsaEncryption. Reviewed-by: Richard Levitte --- crypto/evp/m_sha3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/evp/m_sha3.c b/crypto/evp/m_sha3.c index 9691d934e7..cf902e742c 100644 --- a/crypto/evp/m_sha3.c +++ b/crypto/evp/m_sha3.c @@ -139,9 +139,9 @@ const EVP_MD *EVP_sha3_##bitlen(void) \ { \ static const EVP_MD sha3_##bitlen##_md = { \ NID_sha3_##bitlen, \ - 0, \ + NID_RSA_SHA3_##bitlen, \ bitlen / 8, \ - 0, \ + EVP_MD_FLAG_DIGALGID_ABSENT, \ sha3_init, \ sha3_update, \ sha3_final, \ -- 2.25.1