From 0b6deb78b28f14c6fe58749806ff4e6774c9cbe9 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 2 Mar 2024 11:28:46 +0000 Subject: Remove a bunch of CRYPTO memory API This was neutered early on in the fork and has been rotting ever since. Some parts of the API are still used, but it's easier to clean up when most of the mess is gone. ok jsing --- src/lib/libcrypto/hidden/openssl/crypto.h | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'src/lib/libcrypto/hidden') diff --git a/src/lib/libcrypto/hidden/openssl/crypto.h b/src/lib/libcrypto/hidden/openssl/crypto.h index 083d156d14..efbcca975f 100644 --- a/src/lib/libcrypto/hidden/openssl/crypto.h +++ b/src/lib/libcrypto/hidden/openssl/crypto.h @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto.h,v 1.3 2024/03/01 07:38:33 tb Exp $ */ +/* $OpenBSD: crypto.h,v 1.4 2024/03/02 11:28:46 tb Exp $ */ /* * Copyright (c) 2023 Bob Beck * @@ -43,30 +43,10 @@ LCRYPTO_USED(CRYPTO_THREADID_cmp); LCRYPTO_USED(CRYPTO_THREADID_cpy); LCRYPTO_USED(CRYPTO_THREADID_hash); LCRYPTO_USED(CRYPTO_set_mem_functions); -LCRYPTO_USED(CRYPTO_set_locked_mem_functions); LCRYPTO_USED(CRYPTO_set_mem_ex_functions); -LCRYPTO_USED(CRYPTO_set_locked_mem_ex_functions); -LCRYPTO_USED(CRYPTO_set_mem_debug_functions); -LCRYPTO_USED(CRYPTO_get_mem_functions); -LCRYPTO_USED(CRYPTO_get_locked_mem_functions); -LCRYPTO_USED(CRYPTO_get_mem_ex_functions); -LCRYPTO_USED(CRYPTO_get_locked_mem_ex_functions); -LCRYPTO_USED(CRYPTO_get_mem_debug_functions); -LCRYPTO_USED(CRYPTO_realloc_clean); -LCRYPTO_USED(CRYPTO_remalloc); -LCRYPTO_USED(CRYPTO_set_mem_debug_options); -LCRYPTO_USED(CRYPTO_get_mem_debug_options); LCRYPTO_USED(CRYPTO_push_info_); LCRYPTO_USED(CRYPTO_pop_info); LCRYPTO_USED(CRYPTO_remove_all_info); -LCRYPTO_USED(CRYPTO_dbg_malloc); -LCRYPTO_USED(CRYPTO_dbg_realloc); -LCRYPTO_USED(CRYPTO_dbg_free); -LCRYPTO_USED(CRYPTO_dbg_set_options); -LCRYPTO_USED(CRYPTO_dbg_get_options); -LCRYPTO_USED(CRYPTO_mem_leaks_fp); -LCRYPTO_USED(CRYPTO_mem_leaks); -LCRYPTO_USED(CRYPTO_mem_leaks_cb); LCRYPTO_USED(OpenSSLDie); LCRYPTO_USED(OPENSSL_cpu_caps); LCRYPTO_USED(OPENSSL_init_crypto); -- cgit v1.2.3-55-g6feb