rsa/rsa_pmeth.c: recognize SHA3 as supported RSA digest.

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Andy Polyakov 2017-09-10 21:43:48 +02:00
parent c1ea747792
commit cfb5bc69cf

View File

@ -376,6 +376,10 @@ static int check_padding_md(const EVP_MD *md, int padding)
case NID_md4: case NID_md4:
case NID_mdc2: case NID_mdc2:
case NID_ripemd160: case NID_ripemd160:
case NID_sha3_224:
case NID_sha3_256:
case NID_sha3_384:
case NID_sha3_512:
return 1; return 1;
default: default: