summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-03-26 17:51:26 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-03-26 17:51:26 +0000
commit495c9306158a636ff9beba6efecd3f6c2737c02c (patch)
tree1fb6254921ad67f1acf6ccbb60b237a64ab23f15
parentd94b962bb739245811acd0caa93dee29498632fe (diff)
The slightly less deprecated spelling of ERR_remove_state(0) is
ERR_remove_thread_state(NULL).
-rw-r--r--usr.bin/dig/lib/dns/openssl_link.c2
1 files changed, 1 insertions, 1 deletions
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();
}