X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fec%2Fectest.c;h=7509cb9c7cc7887a8d86f75a43b3a5b4ccc8da6a;hp=b74d6435be9680faf49dc570a13ff204982e6544;hb=f7ccba3edf9f1f02d7bd3b019d7bc96f25a95718;hpb=eb77ebe26c5228a9a9688b33901e79968789b980 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;