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/hidden/openssl/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/hidden/openssl/rand.h | 12 |
1 files changed, 11 insertions, 1 deletions
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 @@ | |||
1 | /* $OpenBSD: rand.h,v 1.3 2023/07/28 09:53:55 tb Exp $ */ | 1 | /* $OpenBSD: rand.h,v 1.4 2024/04/10 14:53:01 beck Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -29,5 +29,15 @@ LCRYPTO_USED(RAND_set_rand_method); | |||
29 | LCRYPTO_USED(RAND_get_rand_method); | 29 | LCRYPTO_USED(RAND_get_rand_method); |
30 | LCRYPTO_USED(RAND_SSLeay); | 30 | LCRYPTO_USED(RAND_SSLeay); |
31 | LCRYPTO_USED(ERR_load_RAND_strings); | 31 | LCRYPTO_USED(ERR_load_RAND_strings); |
32 | LCRYPTO_UNUSED(RAND_cleanup); | ||
33 | LCRYPTO_UNUSED(RAND_bytes); | ||
34 | LCRYPTO_UNUSED(RAND_pseudo_bytes); | ||
35 | LCRYPTO_UNUSED(RAND_seed); | ||
36 | LCRYPTO_UNUSED(RAND_add); | ||
37 | LCRYPTO_UNUSED(RAND_load_file); | ||
38 | LCRYPTO_UNUSED(RAND_write_file); | ||
39 | LCRYPTO_UNUSED(RAND_file_name); | ||
40 | LCRYPTO_UNUSED(RAND_status); | ||
41 | LCRYPTO_UNUSED(RAND_poll); | ||
32 | 42 | ||
33 | #endif /* _LIBCRYPTO_RAND_H */ | 43 | #endif /* _LIBCRYPTO_RAND_H */ |