summaryrefslogtreecommitdiffstats
path: root/test/evp_test.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/evp_test.c
parentb9f757074d470ec6b031f348581160e48202b85c (diff)
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/evp_test.c')
-rw-r--r--test/evp_test.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/evp_test.c b/test/evp_test.c
index ff2ee10c28..6bc3a8ab39 100644
--- a/test/evp_test.c
+++ b/test/evp_test.c
@@ -592,9 +592,6 @@ int main(int argc, char **argv)
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
- ERR_load_crypto_strings();
- OpenSSL_add_all_algorithms();
-
memset(&t, 0, sizeof(t));
t.start_line = -1;
in = fopen(argv[1], "r");
@@ -612,10 +609,7 @@ int main(int argc, char **argv)
free_key_list(t.public);
free_key_list(t.private);
fclose(in);
- EVP_cleanup();
- CRYPTO_cleanup_all_ex_data();
- ERR_remove_thread_state(NULL);
- ERR_free_strings();
+
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
if (CRYPTO_mem_leaks_fp(stderr) <= 0)
return 1;