mirror of
https://github.com/openssl/openssl.git
synced 2025-01-19 16:33:33 +08:00
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)
This commit is contained in:
parent
7eab7680ee
commit
8835940db5
@ -449,6 +449,8 @@ void cleanup_tests(void)
|
||||
EVP_PKEY_free(server_key);
|
||||
X509_free(client_cert);
|
||||
EVP_PKEY_free(client_key);
|
||||
OSSL_PROVIDER_unload(default_null_provider);
|
||||
OSSL_PROVIDER_unload(provider);
|
||||
OSSL_LIB_CTX_free(libctx);
|
||||
return;
|
||||
}
|
||||
|
@ -539,6 +539,8 @@ void cleanup_tests(void)
|
||||
{
|
||||
EVP_PKEY_free(newkey);
|
||||
X509_free(cert);
|
||||
OSSL_PROVIDER_unload(default_null_provider);
|
||||
OSSL_PROVIDER_unload(provider);
|
||||
OSSL_LIB_CTX_free(libctx);
|
||||
}
|
||||
|
||||
|
@ -527,6 +527,8 @@ void cleanup_tests(void)
|
||||
X509_free(intermediate);
|
||||
OSSL_CMP_MSG_free(ir_protected);
|
||||
OSSL_CMP_MSG_free(ir_unprotected);
|
||||
OSSL_PROVIDER_unload(default_null_provider);
|
||||
OSSL_PROVIDER_unload(provider);
|
||||
OSSL_LIB_CTX_free(libctx);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user