summaryrefslogtreecommitdiffstats
path: root/ssl/ssltest.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/ssltest.c')
-rw-r--r--ssl/ssltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index 83a571d69b..b20ab0fb05 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -1014,7 +1014,7 @@ end:
#endif
CRYPTO_cleanup_all_ex_data();
ERR_free_strings();
- ERR_remove_state(0);
+ ERR_remove_thread_state(NULL);
EVP_cleanup();
CRYPTO_mem_leaks(bio_err);
if (bio_err != NULL) BIO_free(bio_err);