]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add evp_keymgmt_clear_pkey_cache() and use it
authorRichard Levitte <levitte@openssl.org>
Wed, 10 Jul 2019 12:30:55 +0000 (14:30 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 22 Jul 2019 04:19:42 +0000 (06:19 +0200)
commit4cae07fef3b24bee1646f6085c52175ef3755d5b
tree084300563983a7a7010c5237520b075e2642c962
parentd0ea49a820e02713bbe8892a333f2552da633b16
Add evp_keymgmt_clear_pkey_cache() and use it

This function clears the cache of provider key references, and is used
in evp_keymgmt_export_to_provider() when the internal key is dirty, as
well as by EVP_PKEY_free_it().

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9312)
crypto/evp/keymgmt_lib.c
crypto/evp/p_lib.c
crypto/include/internal/evp_int.h
doc/internal/man3/evp_keymgmt_export_to_provider.pod