Fix compilation with -DOPENSSL_NO_DEPRECATED.
authorGeoff Thorpe <geoff@openssl.org>
Fri, 28 Nov 2008 22:06:55 +0000 (22:06 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Fri, 28 Nov 2008 22:06:55 +0000 (22:06 +0000)
crypto/jpake/jpaketest.c

index 008756f..74d65b9 100644 (file)
@@ -182,7 +182,7 @@ int main(int argc, char **argv)
     BN_free(p);
 
     CRYPTO_cleanup_all_ex_data();
-    ERR_remove_state(0);
+    ERR_remove_thread_state(NULL);
     ERR_free_strings();
     CRYPTO_mem_leaks(bio_err);