]> git.ipfire.org Git - thirdparty/openssl.git/commit
Modify EVP_PKEY_ASN1_METHOD's export_to function to take an importer
authorRichard Levitte <levitte@openssl.org>
Sat, 15 May 2021 05:43:06 +0000 (07:43 +0200)
committerMatt Caswell <matt@openssl.org>
Thu, 20 May 2021 11:57:22 +0000 (12:57 +0100)
commitbed7437b00734ee463de3c6fd6851458fa8c6cb0
tree3bdbff41b883abd1cdb3e5b3e641e808109629c0
parent0e5a4da4a86c6435c70d587d740c3096686a8500
Modify EVP_PKEY_ASN1_METHOD's export_to function to take an importer

We previously took an EVP_KEYMGMT pointer, but now found it necessary
to use a different import function in some cases.  Since that's the
only thing we use from EVP_KEYMGMT, we might as well pass the import
function directly, allowing for some flexibility in how export_to is
used.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15293)
crypto/dh/dh_ameth.c
crypto/dsa/dsa_ameth.c
crypto/ec/ec_ameth.c
crypto/ec/ecx_meth.c
crypto/evp/p_lib.c
crypto/rsa/rsa_ameth.c
include/crypto/asn1.h