From df077cec5ce229b03845385f6f75dbe7cd5f7080 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 28 Jul 2023 10:19:20 +0000 Subject: Make ex_data implementations internal To state the obvious: library suffers from way too much extensibility. In theory, applications can implement their own ex_data implementation. In practice, none did. A glance at ex_data.c might give an idea as to why. Make this internal so this particular turd can be replaced with something slightly saner. Also sync up the CRYPTO_EX_INDEX_* defines with OpenSSL - at least the parts we support. ok jsing --- src/lib/libcrypto/hidden/openssl/crypto.h | 5 +---- 1 file changed, 1 insertion(+), 4 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 69ffa9480b..dc0b7a02b1 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.1 2023/07/08 08:28:23 beck Exp $ */ +/* $OpenBSD: crypto.h,v 1.2 2023/07/28 10:19:20 tb Exp $ */ /* * Copyright (c) 2023 Bob Beck * @@ -29,9 +29,6 @@ LCRYPTO_USED(OpenSSL_version); LCRYPTO_USED(OpenSSL_version_num); LCRYPTO_USED(SSLeay_version); LCRYPTO_USED(SSLeay); -LCRYPTO_USED(CRYPTO_get_ex_data_implementation); -LCRYPTO_USED(CRYPTO_set_ex_data_implementation); -LCRYPTO_USED(CRYPTO_ex_data_new_class); LCRYPTO_USED(CRYPTO_get_ex_new_index); LCRYPTO_USED(CRYPTO_new_ex_data); LCRYPTO_USED(CRYPTO_dup_ex_data); -- cgit v1.2.3-55-g6feb