From: Geoff Thorpe Date: Fri, 28 Nov 2008 22:06:55 +0000 (+0000) Subject: Fix compilation with -DOPENSSL_NO_DEPRECATED. X-Git-Tag: OpenSSL_0_9_8k^2~142 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=bcaa36fd111dddd6567c628ccaae54af188ae3d3 Fix compilation with -DOPENSSL_NO_DEPRECATED. --- diff --git a/crypto/jpake/jpaketest.c b/crypto/jpake/jpaketest.c index 008756fc95..74d65b909f 100644 --- a/crypto/jpake/jpaketest.c +++ b/crypto/jpake/jpaketest.c @@ -182,7 +182,7 @@ int main(int argc, char **argv) BN_free(p); CRYPTO_cleanup_all_ex_data(); - ERR_remove_state(0); + ERR_remove_thread_state(NULL); ERR_free_strings(); CRYPTO_mem_leaks(bio_err);