diff options
author | tb <> | 2023-07-28 10:19:20 +0000 |
---|---|---|
committer | tb <> | 2023-07-28 10:19:20 +0000 |
commit | 80044b19f0ece8df72ab24e3c1d89b8ca3d14bf7 (patch) | |
tree | 2ee287d6ab4c68a054e3379b662b9a6d1a67c316 /src/lib/libcrypto/hidden | |
parent | 39fd8a543e6f18ed3accea6db537f4a36fdb017d (diff) | |
download | openbsd-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.h | 5 |
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); | |||
29 | LCRYPTO_USED(OpenSSL_version_num); | 29 | LCRYPTO_USED(OpenSSL_version_num); |
30 | LCRYPTO_USED(SSLeay_version); | 30 | LCRYPTO_USED(SSLeay_version); |
31 | LCRYPTO_USED(SSLeay); | 31 | LCRYPTO_USED(SSLeay); |
32 | LCRYPTO_USED(CRYPTO_get_ex_data_implementation); | ||
33 | LCRYPTO_USED(CRYPTO_set_ex_data_implementation); | ||
34 | LCRYPTO_USED(CRYPTO_ex_data_new_class); | ||
35 | LCRYPTO_USED(CRYPTO_get_ex_new_index); | 32 | LCRYPTO_USED(CRYPTO_get_ex_new_index); |
36 | LCRYPTO_USED(CRYPTO_new_ex_data); | 33 | LCRYPTO_USED(CRYPTO_new_ex_data); |
37 | LCRYPTO_USED(CRYPTO_dup_ex_data); | 34 | LCRYPTO_USED(CRYPTO_dup_ex_data); |