mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
rsa/rsa_pmeth.c: recognize SHA3 as supported RSA digest.
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
c1ea747792
commit
cfb5bc69cf
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user