diff options
author | beck <> | 2024-04-10 14:51:02 +0000 |
---|---|---|
committer | beck <> | 2024-04-10 14:51:02 +0000 |
commit | 28391ee6892093e7875a30c2bc0924a7bbcb17ea (patch) | |
tree | 1de2e3788fdb529f8ab9454147625167504e92c8 /src/lib/libcrypto/mem_dbg.c | |
parent | dd303cf95a55e7ed2d56234a22f99bc1f0e08dfe (diff) | |
download | openbsd-28391ee6892093e7875a30c2bc0924a7bbcb17ea.tar.gz openbsd-28391ee6892093e7875a30c2bc0924a7bbcb17ea.tar.bz2 openbsd-28391ee6892093e7875a30c2bc0924a7bbcb17ea.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/mem_dbg.c')
-rw-r--r-- | src/lib/libcrypto/mem_dbg.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
1 | /* $OpenBSD: mem_dbg.c,v 1.27 2024/03/02 11:32:31 tb Exp $ */ | 1 | /* $OpenBSD: mem_dbg.c,v 1.28 2024/04/10 14:51:02 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -116,3 +116,4 @@ CRYPTO_mem_ctrl(int mode) | |||
116 | { | 116 | { |
117 | return (CRYPTO_MEM_CHECK_OFF); | 117 | return (CRYPTO_MEM_CHECK_OFF); |
118 | } | 118 | } |
119 | LCRYPTO_ALIAS(CRYPTO_mem_ctrl); | ||