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 008756fc957ac63e1ca5cdb5a2664707c825ec82..74d65b909f7ad1109b8beb9f000749a41d7406f9 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);