diff options
author | slontis <shane.lontis@oracle.com> | 2021-12-06 09:27:12 +1000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-02-03 13:51:17 +0100 |
commit | 86818e77bc46916db99bda6962c79dd11215e886 (patch) | |
tree | 34976c3b178574993bf61468b44131bc5684f2f8 /test/filterprov.c | |
parent | 99a8af3049661e84c52be79ed9cf377a845ab158 (diff) |
Fix EVP todata and fromdata when used with selection of EVP_PKEY_PUBLIC_KEY.
The private key for rsa, dsa, dh and ecx was being included when the
selector was just the public key. (ec was working correctly).
This matches the documented behaviour.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17200)
(cherry picked from commit 944f822aadc88b2e25f7695366810c73a53a00c8)
Diffstat (limited to 'test/filterprov.c')
0 files changed, 0 insertions, 0 deletions