aboutsummaryrefslogtreecommitdiffstats
path: root/test/danetest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-02-08 16:45:35 +0000
committerMatt Caswell <matt@openssl.org>2016-02-09 15:11:38 +0000
commit8793f012f11416abd300aa524057c863e8c16dd5 (patch)
treeae6a3c00048af2d608e5736d9753217052749b57 /test/danetest.c
parentb9f757074d470ec6b031f348581160e48202b85c (diff)
downloadopenssl-8793f012f11416abd300aa524057c863e8c16dd5.tar.gz
Clean up the tests for auto-init/de-init
Remove the need to explicitly initialise/deinitialise for the tests Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test/danetest.c')
-rw-r--r--test/danetest.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/danetest.c b/test/danetest.c
index b9ccd404d3..01f77313ea 100644
--- a/test/danetest.c
+++ b/test/danetest.c
@@ -493,8 +493,6 @@ int main(int argc, char *argv[])
return 0;
}
- SSL_library_init();
- SSL_load_error_strings();
ctx = SSL_CTX_new(TLS_client_method());
if (SSL_CTX_dane_enable(ctx) <= 0) {
@@ -526,14 +524,6 @@ end:
(void) fclose(f);
SSL_CTX_free(ctx);
-#ifndef OPENSSL_NO_ENGINE
- ENGINE_cleanup();
-#endif
- CONF_modules_unload(1);
- CRYPTO_cleanup_all_ex_data();
- ERR_free_strings();
- ERR_remove_thread_state(NULL);
- EVP_cleanup();
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
if (CRYPTO_mem_leaks(bio_err) <= 0)
ret = 1;