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/rand/rand.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/libcrypto/rand/rand.h') diff --git a/src/lib/libcrypto/rand/rand.h b/src/lib/libcrypto/rand/rand.h index d66d71579c..1a2c8f715f 100644 --- a/src/lib/libcrypto/rand/rand.h +++ b/src/lib/libcrypto/rand/rand.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rand.h,v 1.24 2023/11/19 15:46:10 tb Exp $ */ +/* $OpenBSD: rand.h,v 1.25 2024/04/10 14:53:01 beck Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -85,7 +85,6 @@ int RAND_set_rand_method(const RAND_METHOD *meth); const RAND_METHOD *RAND_get_rand_method(void); RAND_METHOD *RAND_SSLeay(void); -#ifndef LIBRESSL_INTERNAL void RAND_cleanup(void ); int RAND_bytes(unsigned char *buf, int num); int RAND_pseudo_bytes(unsigned char *buf, int num); @@ -96,7 +95,6 @@ int RAND_write_file(const char *file); const char *RAND_file_name(char *file, size_t num); int RAND_status(void); int RAND_poll(void); -#endif void ERR_load_RAND_strings(void); -- cgit v1.2.3-55-g6feb