From c74048d53051ecb8d267b8b92af44b32f0bd928c Mon Sep 17 00:00:00 2001 From: beck <> Date: Wed, 10 Apr 2024 14:53:01 +0000 Subject: Finish hiding symbols in rand.h This removes the LIBRESSL_INTERNAL guards and marks the functions within as LCRYPTO_UNUSED --- src/lib/libcrypto/hidden/openssl/rand.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/hidden/openssl/rand.h') diff --git a/src/lib/libcrypto/hidden/openssl/rand.h b/src/lib/libcrypto/hidden/openssl/rand.h index 978d10f70b..d06442acdb 100644 --- a/src/lib/libcrypto/hidden/openssl/rand.h +++ b/src/lib/libcrypto/hidden/openssl/rand.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rand.h,v 1.3 2023/07/28 09:53:55 tb Exp $ */ +/* $OpenBSD: rand.h,v 1.4 2024/04/10 14:53:01 beck Exp $ */ /* * Copyright (c) 2023 Bob Beck * @@ -29,5 +29,15 @@ LCRYPTO_USED(RAND_set_rand_method); LCRYPTO_USED(RAND_get_rand_method); LCRYPTO_USED(RAND_SSLeay); LCRYPTO_USED(ERR_load_RAND_strings); +LCRYPTO_UNUSED(RAND_cleanup); +LCRYPTO_UNUSED(RAND_bytes); +LCRYPTO_UNUSED(RAND_pseudo_bytes); +LCRYPTO_UNUSED(RAND_seed); +LCRYPTO_UNUSED(RAND_add); +LCRYPTO_UNUSED(RAND_load_file); +LCRYPTO_UNUSED(RAND_write_file); +LCRYPTO_UNUSED(RAND_file_name); +LCRYPTO_UNUSED(RAND_status); +LCRYPTO_UNUSED(RAND_poll); #endif /* _LIBCRYPTO_RAND_H */ -- cgit v1.2.3-55-g6feb