From 4cfcc7e1213d39c78852a614894ebcd2e2be095c Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Thu, 20 Jan 2022 19:49:40 +0100 Subject: store_result: Add fallback for fetching the keymgmt from the provider of the store Fixes #17531 Reviewed-by: Paul Dale Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/17554) --- include/crypto/evp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/crypto') diff --git a/include/crypto/evp.h b/include/crypto/evp.h index 845c62e293..cd281a8863 100644 --- a/include/crypto/evp.h +++ b/include/crypto/evp.h @@ -838,6 +838,9 @@ const OSSL_PARAM *evp_keymgmt_export_types(const EVP_KEYMGMT *keymgmt, int selection); void *evp_keymgmt_dup(const EVP_KEYMGMT *keymgmt, const void *keydata_from, int selection); +EVP_KEYMGMT *evp_keymgmt_fetch_from_prov(OSSL_PROVIDER *prov, + const char *name, + const char *properties); /* Pulling defines out of C source files */ -- cgit v1.2.3