summaryrefslogtreecommitdiff
path: root/test/clienthellotest.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/clienthellotest.c
parentb9f757074d470ec6b031f348581160e48202b85c (diff)
downloadopenssl-new-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/clienthellotest.c')
-rw-r--r--test/clienthellotest.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/clienthellotest.c b/test/clienthellotest.c
index d9ae758987..877566131a 100644
--- a/test/clienthellotest.c
+++ b/test/clienthellotest.c
@@ -103,9 +103,6 @@ int main(int argc, char *argv[])
int testresult = 0;
int currtest = 0;
- SSL_library_init();
- SSL_load_error_strings();
-
err = BIO_new_fp(stderr, BIO_NOCLOSE | BIO_FP_TEXT);
CRYPTO_set_mem_debug(1);
@@ -212,10 +209,6 @@ int main(int argc, char *argv[])
}
}
- ERR_free_strings();
- ERR_remove_thread_state(NULL);
- EVP_cleanup();
- CRYPTO_cleanup_all_ex_data();
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
if (CRYPTO_mem_leaks(err) <= 0)
testresult = 0;