]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/evp/evp_fetch.c
Add the ability for ex_data to have a priority
[thirdparty/openssl.git] / crypto / evp / evp_fetch.c
index 266f657ff249cb4fc36d12c1ea7222bfc209c830..b74379031b0443bb60ddf92e506d9b87429ff813 100644 (file)
@@ -35,6 +35,8 @@ static void *evp_method_store_new(OSSL_LIB_CTX *ctx)
 
 
 static const OSSL_LIB_CTX_METHOD evp_method_store_method = {
+    /* We want evp_method_store to be cleaned up before the provider store */
+    OSSL_LIB_CTX_METHOD_HIGH_PRIORITY,
     evp_method_store_new,
     evp_method_store_free,
 };