aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/ecdh/ecdhtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/ecdh/ecdhtest.c')
-rw-r--r--openssl/crypto/ecdh/ecdhtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/crypto/ecdh/ecdhtest.c b/openssl/crypto/ecdh/ecdhtest.c
index 1575006b5..212a87efa 100644
--- a/openssl/crypto/ecdh/ecdhtest.c
+++ b/openssl/crypto/ecdh/ecdhtest.c
@@ -343,7 +343,7 @@ err:
if (ctx) BN_CTX_free(ctx);
BIO_free(out);
CRYPTO_cleanup_all_ex_data();
- ERR_remove_state(0);
+ ERR_remove_thread_state(NULL);
CRYPTO_mem_leaks_fp(stderr);
EXIT(ret);
return(ret);