Remove the dual-callback scheme for numeric and pointer thread IDs,
[openssl.git] / crypto / dsa / dsatest.c
index 5a699ca5d35b52a700b0efb01ce8abe87ede7686..edffd24e6ba24975d0fdc857e1a49a040450d651 100644 (file)
@@ -222,7 +222,7 @@ end:
                ERR_print_errors(bio_err);
        if (dsa != NULL) DSA_free(dsa);
        CRYPTO_cleanup_all_ex_data();
-       ERR_remove_state(0);
+       ERR_remove_thread_state(NULL);
        ERR_free_strings();
        CRYPTO_mem_leaks(bio_err);
        if (bio_err != NULL)