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/mem_clr.c | |
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/mem_clr.c')
-rw-r--r-- | src/lib/libcrypto/mem_clr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/mem_clr.c b/src/lib/libcrypto/mem_clr.c index 9ee5e65a2e..a936dcc5b8 100644 --- a/src/lib/libcrypto/mem_clr.c +++ b/src/lib/libcrypto/mem_clr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: mem_clr.c,v 1.4 2014/06/12 15:49:27 deraadt Exp $ */ | 1 | /* $OpenBSD: mem_clr.c,v 1.5 2024/04/10 14:51:02 beck Exp $ */ |
2 | 2 | ||
3 | /* Ted Unangst places this file in the public domain. */ | 3 | /* Ted Unangst places this file in the public domain. */ |
4 | #include <string.h> | 4 | #include <string.h> |
@@ -9,3 +9,4 @@ OPENSSL_cleanse(void *ptr, size_t len) | |||
9 | { | 9 | { |
10 | explicit_bzero(ptr, len); | 10 | explicit_bzero(ptr, len); |
11 | } | 11 | } |
12 | LCRYPTO_ALIAS(OPENSSL_cleanse); | ||