diff options
author | Andy Polyakov <appro@openssl.org> | 2017-09-10 21:43:48 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-09-11 22:18:22 +0200 |
commit | cfb5bc69cf2e5d627dbb4f5c3abf3e49d65419d6 (patch) | |
tree | 0508df8f5b1ec33a200d9783ca02e961a775b462 /crypto/rsa/rsa_pmeth.c | |
parent | c1ea7477926402ffe8ab21f7d9fa993c6148799f (diff) | |
download | openssl-cfb5bc69cf2e5d627dbb4f5c3abf3e49d65419d6.tar.gz |
rsa/rsa_pmeth.c: recognize SHA3 as supported RSA digest.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/rsa/rsa_pmeth.c')
-rw-r--r-- | crypto/rsa/rsa_pmeth.c | 4 |
1 files changed, 4 insertions, 0 deletions
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: |