provider: add an unquery function to allow providers to clean up.
[openssl.git] / include / internal / provider.h
index fbe3154b53ca2e752b8c7baf6bca6fee03b2c171..7441bf26f0c856e642e5c9f8c6f6721df2c13350 100644 (file)
@@ -83,6 +83,9 @@ int ossl_provider_self_test(const OSSL_PROVIDER *prov);
 const OSSL_ALGORITHM *ossl_provider_query_operation(const OSSL_PROVIDER *prov,
                                                     int operation_id,
                                                     int *no_cache);
+void ossl_provider_unquery_operation(const OSSL_PROVIDER *prov,
+                                     int operation_id,
+                                     const OSSL_ALGORITHM *algs);
 
 /* Cache of bits to see if we already queried an operation */
 int ossl_provider_set_operation_bit(OSSL_PROVIDER *provider, size_t bitnum);