summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ectest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ec/ectest.c')
-rw-r--r--crypto/ec/ectest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ectest.c b/crypto/ec/ectest.c
index b74d6435be..7509cb9c7c 100644
--- a/crypto/ec/ectest.c
+++ b/crypto/ec/ectest.c
@@ -1326,7 +1326,7 @@ int main(int argc, char *argv[])
#endif
CRYPTO_cleanup_all_ex_data();
ERR_free_strings();
- ERR_remove_state(0);
+ ERR_remove_thread_state(NULL);
CRYPTO_mem_leaks_fp(stderr);
return 0;