Revert my earlier CRYPTO_THREADID commit, I will commit a reworked
[openssl.git] / ssl / ssltest.c
index b20ab0fb0500ac9be01d53b61142ac9dd6b2b75e..83a571d69bbc952ed45d6befe95d4a58c04816cd 100644 (file)
@@ -1014,7 +1014,7 @@ end:
 #endif
        CRYPTO_cleanup_all_ex_data();
        ERR_free_strings();
-       ERR_remove_thread_state(NULL);
+       ERR_remove_state(0);
        EVP_cleanup();
        CRYPTO_mem_leaks(bio_err);
        if (bio_err != NULL) BIO_free(bio_err);