diff options
author | beck <> | 2024-04-10 14:53:01 +0000 |
---|---|---|
committer | beck <> | 2024-04-10 14:53:01 +0000 |
commit | c74048d53051ecb8d267b8b92af44b32f0bd928c (patch) | |
tree | ad58252de816fa1777a2122eef964ba74c98a5c9 /src/lib/libcrypto/rand/rand.h | |
parent | 28391ee6892093e7875a30c2bc0924a7bbcb17ea (diff) | |
download | openbsd-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.h | 4 |
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); | |||
85 | const RAND_METHOD *RAND_get_rand_method(void); | 85 | const RAND_METHOD *RAND_get_rand_method(void); |
86 | RAND_METHOD *RAND_SSLeay(void); | 86 | RAND_METHOD *RAND_SSLeay(void); |
87 | 87 | ||
88 | #ifndef LIBRESSL_INTERNAL | ||
89 | void RAND_cleanup(void ); | 88 | void RAND_cleanup(void ); |
90 | int RAND_bytes(unsigned char *buf, int num); | 89 | int RAND_bytes(unsigned char *buf, int num); |
91 | int RAND_pseudo_bytes(unsigned char *buf, int num); | 90 | int RAND_pseudo_bytes(unsigned char *buf, int num); |
@@ -96,7 +95,6 @@ int RAND_write_file(const char *file); | |||
96 | const char *RAND_file_name(char *file, size_t num); | 95 | const char *RAND_file_name(char *file, size_t num); |
97 | int RAND_status(void); | 96 | int RAND_status(void); |
98 | int RAND_poll(void); | 97 | int RAND_poll(void); |
99 | #endif | ||
100 | 98 | ||
101 | void ERR_load_RAND_strings(void); | 99 | void ERR_load_RAND_strings(void); |
102 | 100 | ||