summaryrefslogtreecommitdiffstats
path: root/test/ecdsatest.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/ecdsatest.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/ecdsatest.c')
-rw-r--r--test/ecdsatest.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/ecdsatest.c b/test/ecdsatest.c
index feb9f0a6eb..55ebad904c 100644
--- a/test/ecdsatest.c
+++ b/test/ecdsatest.c
@@ -522,7 +522,6 @@ int main(void)
p = getenv("OPENSSL_DEBUG_MEMORY");
if (p != NULL && strcmp(p, "on") == 0)
CRYPTO_set_mem_debug(1);
- ERR_load_crypto_strings();
/* initialize the prng */
RAND_seed(rnd_seed, sizeof(rnd_seed));
@@ -541,9 +540,7 @@ int main(void)
BIO_printf(out, "\nECDSA test passed\n");
if (ret)
ERR_print_errors(out);
- CRYPTO_cleanup_all_ex_data();
- ERR_remove_thread_state(NULL);
- ERR_free_strings();
+
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
if (CRYPTO_mem_leaks(out) <= 0)
ret = 1;