summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden
diff options
context:
space:
mode:
authortb <>2023-07-28 10:19:20 +0000
committertb <>2023-07-28 10:19:20 +0000
commit80044b19f0ece8df72ab24e3c1d89b8ca3d14bf7 (patch)
tree2ee287d6ab4c68a054e3379b662b9a6d1a67c316 /src/lib/libcrypto/hidden
parent39fd8a543e6f18ed3accea6db537f4a36fdb017d (diff)
downloadopenbsd-80044b19f0ece8df72ab24e3c1d89b8ca3d14bf7.tar.gz
openbsd-80044b19f0ece8df72ab24e3c1d89b8ca3d14bf7.tar.bz2
openbsd-80044b19f0ece8df72ab24e3c1d89b8ca3d14bf7.zip
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
Diffstat (limited to 'src/lib/libcrypto/hidden')
-rw-r--r--src/lib/libcrypto/hidden/openssl/crypto.h5
1 files changed, 1 insertions, 4 deletions
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 @@
1/* $OpenBSD: crypto.h,v 1.1 2023/07/08 08:28:23 beck Exp $ */ 1/* $OpenBSD: crypto.h,v 1.2 2023/07/28 10:19:20 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -29,9 +29,6 @@ LCRYPTO_USED(OpenSSL_version);
29LCRYPTO_USED(OpenSSL_version_num); 29LCRYPTO_USED(OpenSSL_version_num);
30LCRYPTO_USED(SSLeay_version); 30LCRYPTO_USED(SSLeay_version);
31LCRYPTO_USED(SSLeay); 31LCRYPTO_USED(SSLeay);
32LCRYPTO_USED(CRYPTO_get_ex_data_implementation);
33LCRYPTO_USED(CRYPTO_set_ex_data_implementation);
34LCRYPTO_USED(CRYPTO_ex_data_new_class);
35LCRYPTO_USED(CRYPTO_get_ex_new_index); 32LCRYPTO_USED(CRYPTO_get_ex_new_index);
36LCRYPTO_USED(CRYPTO_new_ex_data); 33LCRYPTO_USED(CRYPTO_new_ex_data);
37LCRYPTO_USED(CRYPTO_dup_ex_data); 34LCRYPTO_USED(CRYPTO_dup_ex_data);