diff options
author | Richard Levitte <levitte@openssl.org> | 2021-02-10 16:55:19 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-02-23 13:41:47 +0100 |
commit | 6179dfc7c4bd850004c3b4b8220f3559573130d5 (patch) | |
tree | 145212e694a514211482e23912ae4cc976df5fe8 /util | |
parent | f627561cf5cc4963698bf975df8694543bcf826c (diff) | |
download | openssl-new-6179dfc7c4bd850004c3b4b8220f3559573130d5.tar.gz |
EVP: Implement EVP_PKEY_CTX_is_a()
This does what was previously done by looking at pctx->pmeth->pkey_id,
but handles both legacy and provider side contexts, and is supposed to
become a replacement for the old way.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13913)
Diffstat (limited to 'util')
-rw-r--r-- | util/libcrypto.num | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num index b602ee4978..a16b6e17eb 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -5300,3 +5300,4 @@ EVP_PKEY_fromdata_init ? 3_0_0 EXIST::FUNCTION: EVP_PKEY_fromdata_settable ? 3_0_0 EXIST::FUNCTION: EVP_PKEY_param_check_quick ? 3_0_0 EXIST::FUNCTION: EVP_PKEY_public_check_quick ? 3_0_0 EXIST::FUNCTION: +EVP_PKEY_CTX_is_a ? 3_0_0 EXIST::FUNCTION: |