diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2021-03-08 21:36:10 +0100 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2021-03-09 16:25:46 +0100 |
commit | 896dcda18bf9347deb507f1d3c1f7e17638dd745 (patch) | |
tree | ebfa6bffb4c27a88cea7cc3fb35f2d03f76a9b3f /test/threadstest.c | |
parent | EVP_KDF-KB man page: Fix typo in the example code (diff) | |
download | openssl-896dcda18bf9347deb507f1d3c1f7e17638dd745.tar.xz openssl-896dcda18bf9347deb507f1d3c1f7e17638dd745.zip |
Non-const accessor to legacy keys
Fixes #14466.
Reverting the changes of the EVP_PKEY_get0 function.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14468)
Diffstat (limited to 'test/threadstest.c')
-rw-r--r-- | test/threadstest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/threadstest.c b/test/threadstest.c index 1967ec6dad..5b64246881 100644 --- a/test/threadstest.c +++ b/test/threadstest.c @@ -411,7 +411,7 @@ static void thread_downgrade_shared_evp_pkey(void) * This test is only relevant for deprecated functions that perform * downgrading */ - if (EVP_PKEY_get0(shared_evp_pkey) == NULL) + if (EVP_PKEY_get0_RSA(shared_evp_pkey) == NULL) multi_success = 0; #else /* Shouldn't ever get here */ |