提交 cfb5bc69 编写于 作者: A Andy Polyakov

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

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 c1ea7477
...@@ -376,6 +376,10 @@ static int check_padding_md(const EVP_MD *md, int padding) ...@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册