From: tb Date: Sun, 26 Mar 2023 17:51:25 +0000 (+0000) Subject: The slightly less deprecated spelling of ERR_remove_state(0) is X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fb5a997b4fd2c4b3bd8dfb265decd49c6d9b165a;p=openbsd The slightly less deprecated spelling of ERR_remove_state(0) is ERR_remove_thread_state(NULL). --- diff --git a/usr.bin/dig/lib/dns/openssl_link.c b/usr.bin/dig/lib/dns/openssl_link.c index 5a271081b3e..c779adba756 100644 --- a/usr.bin/dig/lib/dns/openssl_link.c +++ b/usr.bin/dig/lib/dns/openssl_link.c @@ -61,7 +61,7 @@ dst__openssl_destroy(void) { EVP_cleanup(); CRYPTO_cleanup_all_ex_data(); ERR_clear_error(); - ERR_remove_state(0); + ERR_remove_thread_state(NULL); ERR_free_strings(); }