summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/crypto_init.c
diff options
context:
space:
mode:
authorbeck <>2024-04-10 14:51:02 +0000
committerbeck <>2024-04-10 14:51:02 +0000
commit8f5c098da9d2f4cfab60d5924c5dda86cf4709a2 (patch)
tree1de2e3788fdb529f8ab9454147625167504e92c8 /src/lib/libcrypto/crypto_init.c
parentc891b03850ff24679520e725b3b3c270d97b96e4 (diff)
downloadopenbsd-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/crypto_init.c')
-rw-r--r--src/lib/libcrypto/crypto_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/crypto_init.c b/src/lib/libcrypto/crypto_init.c
index 4521036639..d2d06f87df 100644
--- a/src/lib/libcrypto/crypto_init.c
+++ b/src/lib/libcrypto/crypto_init.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto_init.c,v 1.20 2024/04/09 13:52:41 beck Exp $ */ 1/* $OpenBSD: crypto_init.c,v 1.21 2024/04/10 14:51:02 beck Exp $ */
2/* 2/*
3 * Copyright (c) 2018 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2018 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -41,6 +41,7 @@ void
41OPENSSL_init(void) 41OPENSSL_init(void)
42{ 42{
43} 43}
44LCRYPTO_ALIAS(OPENSSL_init);
44 45
45static void 46static void
46OPENSSL_init_crypto_internal(void) 47OPENSSL_init_crypto_internal(void)