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/exptest.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/exptest.c')
-rw-r--r-- | test/exptest.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/exptest.c b/test/exptest.c index 5cd79e2970..84d76be403 100644 --- a/test/exptest.c +++ b/test/exptest.c @@ -194,8 +194,6 @@ int main(int argc, char *argv[]) * don't even check its return * value (which we should) */ - ERR_load_BN_strings(); - ctx = BN_CTX_new(); if (ctx == NULL) EXIT(1); @@ -298,7 +296,7 @@ int main(int argc, char *argv[]) BN_free(b); BN_free(m); BN_CTX_free(ctx); - ERR_remove_thread_state(NULL); + #ifndef OPENSSL_NO_CRYPTO_MDEBUG if (CRYPTO_mem_leaks(out) <= 0) goto err; @@ -313,7 +311,6 @@ int main(int argc, char *argv[]) EXIT(0); err: - ERR_load_crypto_strings(); ERR_print_errors(out); #ifdef OPENSSL_SYS_NETWARE printf("ERROR\n"); |