Fix DSA to skip EOL test when parsing mod line.
[openssl.git] / crypto / jpake / jpaketest.c
index 008756fc957ac63e1ca5cdb5a2664707c825ec82..eaba75ed8abe1b8e51d6696a1f884a02576ffd30 100644 (file)
@@ -1,5 +1,5 @@
-
 #include <openssl/opensslconf.h>
+
 #ifdef OPENSSL_NO_JPAKE
 
 #include <stdio.h>
@@ -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);