From fb5a997b4fd2c4b3bd8dfb265decd49c6d9b165a Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 26 Mar 2023 17:51:25 +0000 Subject: [PATCH] The slightly less deprecated spelling of ERR_remove_state(0) is ERR_remove_thread_state(NULL). --- usr.bin/dig/lib/dns/openssl_link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.20.1