From 28391ee6892093e7875a30c2bc0924a7bbcb17ea Mon Sep 17 00:00:00 2001 From: beck <> Date: Wed, 10 Apr 2024 14:51:02 +0000 Subject: 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@ --- src/lib/libcrypto/crypto_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/crypto_init.c') 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 @@ -/* $OpenBSD: crypto_init.c,v 1.20 2024/04/09 13:52:41 beck Exp $ */ +/* $OpenBSD: crypto_init.c,v 1.21 2024/04/10 14:51:02 beck Exp $ */ /* * Copyright (c) 2018 Bob Beck * @@ -41,6 +41,7 @@ void OPENSSL_init(void) { } +LCRYPTO_ALIAS(OPENSSL_init); static void OPENSSL_init_crypto_internal(void) -- cgit v1.2.3-55-g6feb