There was a need to support thread ID types that couldn't be reliably cast
[openssl.git] / crypto / rsa / rsa_test.c
index 4080de8bcf994a3d2fbcd4762794f0fda98c05a9..c8705a0f6e59939ad51415face76c0f49f5ea33a 100644 (file)
@@ -328,7 +328,7 @@ int main(int argc, char *argv[])
        }
 
     CRYPTO_cleanup_all_ex_data();
-    ERR_remove_state(0);
+    ERR_remove_thread_state(NULL);
 
     CRYPTO_mem_leaks_fp(stderr);