From cfb5bc69cf2e5d627dbb4f5c3abf3e49d65419d6 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 10 Sep 2017 21:43:48 +0200 Subject: [PATCH] rsa/rsa_pmeth.c: recognize SHA3 as supported RSA digest. Reviewed-by: Richard Levitte --- crypto/rsa/rsa_pmeth.c | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.25.1