summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rand/rand.h
diff options
context:
space:
mode:
authorbeck <>2024-04-10 14:53:01 +0000
committerbeck <>2024-04-10 14:53:01 +0000
commitc74048d53051ecb8d267b8b92af44b32f0bd928c (patch)
treead58252de816fa1777a2122eef964ba74c98a5c9 /src/lib/libcrypto/rand/rand.h
parent28391ee6892093e7875a30c2bc0924a7bbcb17ea (diff)
downloadopenbsd-c74048d53051ecb8d267b8b92af44b32f0bd928c.tar.gz
openbsd-c74048d53051ecb8d267b8b92af44b32f0bd928c.tar.bz2
openbsd-c74048d53051ecb8d267b8b92af44b32f0bd928c.zip
Finish hiding symbols in rand.h
This removes the LIBRESSL_INTERNAL guards and marks the functions within as LCRYPTO_UNUSED
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/rand/rand.h4
1 files changed, 1 insertions, 3 deletions
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 @@
1/* $OpenBSD: rand.h,v 1.24 2023/11/19 15:46:10 tb Exp $ */ 1/* $OpenBSD: rand.h,v 1.25 2024/04/10 14:53:01 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 *
@@ -85,7 +85,6 @@ int RAND_set_rand_method(const RAND_METHOD *meth);
85const RAND_METHOD *RAND_get_rand_method(void); 85const RAND_METHOD *RAND_get_rand_method(void);
86RAND_METHOD *RAND_SSLeay(void); 86RAND_METHOD *RAND_SSLeay(void);
87 87
88#ifndef LIBRESSL_INTERNAL
89void RAND_cleanup(void ); 88void RAND_cleanup(void );
90int RAND_bytes(unsigned char *buf, int num); 89int RAND_bytes(unsigned char *buf, int num);
91int RAND_pseudo_bytes(unsigned char *buf, int num); 90int RAND_pseudo_bytes(unsigned char *buf, int num);
@@ -96,7 +95,6 @@ int RAND_write_file(const char *file);
96const char *RAND_file_name(char *file, size_t num); 95const char *RAND_file_name(char *file, size_t num);
97int RAND_status(void); 96int RAND_status(void);
98int RAND_poll(void); 97int RAND_poll(void);
99#endif
100 98
101void ERR_load_RAND_strings(void); 99void ERR_load_RAND_strings(void);
102 100