diff options
| author | beck <> | 2024-04-10 14:51:02 +0000 |
|---|---|---|
| committer | beck <> | 2024-04-10 14:51:02 +0000 |
| commit | 8f5c098da9d2f4cfab60d5924c5dda86cf4709a2 (patch) | |
| tree | 1de2e3788fdb529f8ab9454147625167504e92c8 /src/lib/libcrypto/hidden/openssl | |
| parent | c891b03850ff24679520e725b3b3c270d97b96e4 (diff) | |
| download | openbsd-8f5c098da9d2f4cfab60d5924c5dda86cf4709a2.tar.gz openbsd-8f5c098da9d2f4cfab60d5924c5dda86cf4709a2.tar.bz2 openbsd-8f5c098da9d2f4cfab60d5924c5dda86cf4709a2.zip | |
Finish Hiding symbols in crypto.h
crypto.h already had the symbols not hidden behind LIBRESSL_INTERNAL
hidden - This now picks up the reset of them marking them as
LCRYPTO_UNUSED, and removes the LIBRESSL_INTERNAL guard.
These symbols will now be hidden, but if we use them inside
the library in a namespaced build we will get a deprecation
warning. use outside the library will be as with any other hidden
symbol, so fine.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl')
| -rw-r--r-- | src/lib/libcrypto/hidden/openssl/crypto.h | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/crypto.h b/src/lib/libcrypto/hidden/openssl/crypto.h index 10daf41f57..fb1b215b96 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.6 2024/03/02 11:37:13 tb Exp $ */ | 1 | /* $OpenBSD: crypto.h,v 1.7 2024/04/10 14:51:02 beck Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> |
| 4 | * | 4 | * |
| @@ -46,5 +46,36 @@ LCRYPTO_USED(OPENSSL_init_crypto); | |||
| 46 | LCRYPTO_USED(OPENSSL_cleanup); | 46 | LCRYPTO_USED(OPENSSL_cleanup); |
| 47 | LCRYPTO_USED(OPENSSL_gmtime); | 47 | LCRYPTO_USED(OPENSSL_gmtime); |
| 48 | LCRYPTO_USED(ERR_load_CRYPTO_strings); | 48 | LCRYPTO_USED(ERR_load_CRYPTO_strings); |
| 49 | LCRYPTO_UNUSED(CRYPTO_mem_ctrl); | ||
| 50 | LCRYPTO_UNUSED(CRYPTO_set_id_callback); | ||
| 51 | LCRYPTO_UNUSED(CRYPTO_get_id_callback); | ||
| 52 | LCRYPTO_UNUSED(CRYPTO_thread_id); | ||
| 53 | LCRYPTO_UNUSED(CRYPTO_get_new_lockid); | ||
| 54 | LCRYPTO_UNUSED(CRYPTO_get_lock_name); | ||
| 55 | LCRYPTO_UNUSED(CRYPTO_num_locks); | ||
| 56 | LCRYPTO_UNUSED(CRYPTO_set_locking_callback); | ||
| 57 | LCRYPTO_UNUSED(CRYPTO_get_locking_callback); | ||
| 58 | LCRYPTO_UNUSED(CRYPTO_set_add_lock_callback); | ||
| 59 | LCRYPTO_UNUSED(CRYPTO_get_add_lock_callback); | ||
| 60 | LCRYPTO_UNUSED(CRYPTO_THREADID_set_numeric); | ||
| 61 | LCRYPTO_UNUSED(CRYPTO_THREADID_set_pointer); | ||
| 62 | LCRYPTO_UNUSED(CRYPTO_THREADID_set_callback); | ||
| 63 | LCRYPTO_UNUSED(CRYPTO_THREADID_get_callback); | ||
| 64 | LCRYPTO_UNUSED(CRYPTO_get_new_dynlockid); | ||
| 65 | LCRYPTO_UNUSED(CRYPTO_destroy_dynlockid); | ||
| 66 | LCRYPTO_UNUSED(CRYPTO_get_dynlock_value); | ||
| 67 | LCRYPTO_UNUSED(CRYPTO_set_dynlock_create_callback); | ||
| 68 | LCRYPTO_UNUSED(CRYPTO_set_dynlock_lock_callback); | ||
| 69 | LCRYPTO_UNUSED(CRYPTO_set_dynlock_destroy_callback); | ||
| 70 | LCRYPTO_UNUSED(CRYPTO_get_dynlock_lock_callback); | ||
| 71 | LCRYPTO_UNUSED(CRYPTO_get_dynlock_destroy_callback); | ||
| 72 | LCRYPTO_UNUSED(CRYPTO_malloc); | ||
| 73 | LCRYPTO_UNUSED(CRYPTO_strdup); | ||
| 74 | LCRYPTO_UNUSED(CRYPTO_free); | ||
| 75 | LCRYPTO_UNUSED(OPENSSL_cleanse); | ||
| 76 | LCRYPTO_UNUSED(FIPS_mode); | ||
| 77 | LCRYPTO_UNUSED(FIPS_mode_set); | ||
| 78 | LCRYPTO_UNUSED(OPENSSL_init); | ||
| 79 | LCRYPTO_UNUSED(CRYPTO_memcmp); | ||
| 49 | 80 | ||
| 50 | #endif /* _LIBCRYPTO_CRYPTO_H */ | 81 | #endif /* _LIBCRYPTO_CRYPTO_H */ |
