summaryrefslogtreecommitdiffstats
path: root/crypto/bn/exptest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bn/exptest.c')
-rw-r--r--crypto/bn/exptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/exptest.c b/crypto/bn/exptest.c
index 89ebcc8711..074a8e882a 100644
--- a/crypto/bn/exptest.c
+++ b/crypto/bn/exptest.c
@@ -187,7 +187,7 @@ int main(int argc, char *argv[])
BN_free(b);
BN_free(m);
BN_CTX_free(ctx);
- ERR_remove_state(0);
+ ERR_remove_thread_state(NULL);
CRYPTO_mem_leaks(out);
BIO_free(out);
printf(" done\n");