From: Andy Polyakov Date: Sun, 10 Sep 2017 19:43:48 +0000 (+0200) Subject: rsa/rsa_pmeth.c: recognize SHA3 as supported RSA digest. X-Git-Tag: OpenSSL_1_1_1-pre1~670 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=cfb5bc69cf2e5d627dbb4f5c3abf3e49d65419d6;ds=inline rsa/rsa_pmeth.c: recognize SHA3 as supported RSA digest. Reviewed-by: Richard Levitte --- diff --git a/crypto/rsa/rsa_pmeth.c b/crypto/rsa/rsa_pmeth.c index 886ce27d3f..a23d428777 100644 --- a/crypto/rsa/rsa_pmeth.c +++ b/crypto/rsa/rsa_pmeth.c @@ -376,6 +376,10 @@ static int check_padding_md(const EVP_MD *md, int padding) case NID_md4: case NID_mdc2: case NID_ripemd160: + case NID_sha3_224: + case NID_sha3_256: + case NID_sha3_384: + case NID_sha3_512: return 1; default: