diff options
author | Matt Caswell <matt@openssl.org> | 2016-02-08 16:45:35 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-02-09 15:11:38 +0000 |
commit | 8793f012f11416abd300aa524057c863e8c16dd5 (patch) | |
tree | ae6a3c00048af2d608e5736d9753217052749b57 /test/ectest.c | |
parent | b9f757074d470ec6b031f348581160e48202b85c (diff) | |
download | openssl-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/ectest.c')
-rw-r--r-- | test/ectest.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/ectest.c b/test/ectest.c index 03dfed96c9..0abb54562b 100644 --- a/test/ectest.c +++ b/test/ectest.c @@ -1665,7 +1665,6 @@ int main(int argc, char *argv[]) if (p != NULL && strcmp(p, "on") == 0) CRYPTO_set_mem_debug(1); CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON); - ERR_load_crypto_strings(); RAND_seed(rnd_seed, sizeof rnd_seed); /* or BN_generate_prime may fail */ @@ -1680,12 +1679,6 @@ int main(int argc, char *argv[]) /* test the internal curves */ internal_curve_test(); -# ifndef OPENSSL_NO_ENGINE - ENGINE_cleanup(); -# endif - CRYPTO_cleanup_all_ex_data(); - ERR_free_strings(); - ERR_remove_thread_state(NULL); #ifndef OPENSSL_NO_CRYPTO_MDEBUG if (CRYPTO_mem_leaks_fp(stderr) <= 0) return 1; |