From: Andy Polyakov Date: Sun, 10 Sep 2017 19:42:43 +0000 (+0200) Subject: evp/m_sha3.c: wire SHA3 to rsaEncryption. X-Git-Tag: OpenSSL_1_1_1-pre1~671 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1ea7477926402ffe8ab21f7d9fa993c6148799f;p=openssl evp/m_sha3.c: wire SHA3 to rsaEncryption. Reviewed-by: Richard Levitte --- 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, \