From b0001d0cf2539b9309712e3e04f407dcbb04352c Mon Sep 17 00:00:00 2001 From: Pauli Date: Fri, 25 Sep 2020 10:19:19 +1000 Subject: provider: add an unquery function to allow providers to clean up. Without this, a provider has no way to know that an application has finished with the array it returned earlier. A non-caching provider requires this information. Fixes #12974 Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/12974) --- crypto/core_algorithm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'crypto/core_algorithm.c') diff --git a/crypto/core_algorithm.c b/crypto/core_algorithm.c index ddb9e5ae43..59f6dddb14 100644 --- a/crypto/core_algorithm.c +++ b/crypto/core_algorithm.c @@ -65,6 +65,7 @@ static int algorithm_do_this(OSSL_PROVIDER *provider, void *cbdata) data->fn(provider, thismap, no_store, data->data); } } + ossl_provider_unquery_operation(provider, cur_operation, map); /* Do we fulfill post-conditions? */ if (data->post == NULL) { -- cgit v1.2.3