Copy RSA-PSS saltlen in EVP_PKEY_CTX_dup.
authorDavid Benjamin <davidben@google.com>
Tue, 16 Apr 2019 03:36:40 +0000 (22:36 -0500)
committerDavid Benjamin <davidben@google.com>
Fri, 26 Apr 2019 14:57:07 +0000 (09:57 -0500)
commitd7fcf1feac3b3b1bf1a162f632b1e7db4f075aed
tree154e82900bea6b599103987eb1524373e5987613
parent5ee08f45bcabc3cef0d7d7b2aa6ecad12ca4197b
Copy RSA-PSS saltlen in EVP_PKEY_CTX_dup.

pkey_rsa_copy was missing a field. Test this by repeating the operation
through an EVP_PKEY_CTX_dup copy in evp_test.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8759)
crypto/rsa/rsa_pmeth.c
test/evp_test.c