From 695cb1c8837847976b081799d3e5a6efc8a10d82 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 2 Mar 2024 10:30:48 +0000 Subject: Remove ERR_get_state The ERR_STATE struct is an unused implementation detail of the horrific error stack code. It is the last public consumer of CRYPTO_THREAD internals. Make this and its accessor internal so we can make the CRYPTO_THREAD struct opaque. ok jsing --- src/lib/libcrypto/hidden/openssl/err.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/libcrypto/hidden/openssl/err.h') diff --git a/src/lib/libcrypto/hidden/openssl/err.h b/src/lib/libcrypto/hidden/openssl/err.h index 036ead8c08..08f97e1c5d 100644 --- a/src/lib/libcrypto/hidden/openssl/err.h +++ b/src/lib/libcrypto/hidden/openssl/err.h @@ -1,4 +1,4 @@ -/* $OpenBSD: err.h,v 1.4 2023/07/28 10:23:19 tb Exp $ */ +/* $OpenBSD: err.h,v 1.5 2024/03/02 10:30:48 tb Exp $ */ /* * Copyright (c) 2023 Bob Beck * @@ -53,7 +53,6 @@ LCRYPTO_USED(ERR_load_crypto_strings); LCRYPTO_USED(ERR_free_strings); LCRYPTO_USED(ERR_remove_thread_state); LCRYPTO_USED(ERR_remove_state); -LCRYPTO_USED(ERR_get_state); LCRYPTO_USED(ERR_get_next_error_library); LCRYPTO_USED(ERR_set_mark); LCRYPTO_USED(ERR_pop_to_mark); -- cgit v1.2.3-55-g6feb