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/mem_dbg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/mem_dbg.c') diff --git a/src/lib/libcrypto/mem_dbg.c b/src/lib/libcrypto/mem_dbg.c index 031db43e3b..a7b3863265 100644 --- a/src/lib/libcrypto/mem_dbg.c +++ b/src/lib/libcrypto/mem_dbg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mem_dbg.c,v 1.27 2024/03/02 11:32:31 tb Exp $ */ +/* $OpenBSD: mem_dbg.c,v 1.28 2024/04/10 14:51:02 beck Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -116,3 +116,4 @@ CRYPTO_mem_ctrl(int mode) { return (CRYPTO_MEM_CHECK_OFF); } +LCRYPTO_ALIAS(CRYPTO_mem_ctrl); -- cgit v1.2.3-55-g6feb