summaryrefslogtreecommitdiffstats
path: root/test/cmp_vfy_test.c
diff options
context:
space:
mode:
authorDanny Carpenter <dcarp@microsoft.com>2023-04-13 21:16:44 +0200
committerPauli <pauli@openssl.org>2023-04-16 14:23:24 +0200
commit8835940db58229fc467cdea1eebf3f064352a086 (patch)
tree1d71362ae751f1c301db6a3d6c57fa964bf3e9e3 /test/cmp_vfy_test.c
parentList also non-fetchable hashes in openssl dgst -list (diff)
downloadopenssl-8835940db58229fc467cdea1eebf3f064352a086.tar.xz
openssl-8835940db58229fc467cdea1eebf3f064352a086.zip
adding provider_unload functions for cmp_ tests
CLA: trivial Reviewed-by: Todd Short <todd.short@me.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20731)
Diffstat (limited to 'test/cmp_vfy_test.c')
-rw-r--r--test/cmp_vfy_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cmp_vfy_test.c b/test/cmp_vfy_test.c
index 383ac2c852..26f2015e8e 100644
--- a/test/cmp_vfy_test.c
+++ b/test/cmp_vfy_test.c
@@ -585,6 +585,8 @@ void cleanup_tests(void)
X509_free(instaca_cert);
OSSL_CMP_MSG_free(ir_unprotected);
OSSL_CMP_MSG_free(ir_rmprotection);
+ OSSL_PROVIDER_unload(default_null_provider);
+ OSSL_PROVIDER_unload(provider);
OSSL_LIB_CTX_free(libctx);
return;
}