summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rand/rand_lib.c
diff options
context:
space:
mode:
authorbeck <>2023-07-07 19:37:54 +0000
committerbeck <>2023-07-07 19:37:54 +0000
commit8d42940c1d19bb9bd4ce45580f18a59069225432 (patch)
treeb1fe16b4625998f0f024f4d3eef5d59a3e905a9a /src/lib/libcrypto/rand/rand_lib.c
parent1c5e77a1d6f97589e2bca622f3313c1418f9a535 (diff)
downloadopenbsd-8d42940c1d19bb9bd4ce45580f18a59069225432.tar.gz
openbsd-8d42940c1d19bb9bd4ce45580f18a59069225432.tar.bz2
openbsd-8d42940c1d19bb9bd4ce45580f18a59069225432.zip
Unbreak the namespace build after a broken mk.conf and tool misfire had
me aliasing symbols not in the headers I was procesing. This unbreaks the namespace build so it will pass again ok tb@
Diffstat (limited to 'src/lib/libcrypto/rand/rand_lib.c')
-rw-r--r--src/lib/libcrypto/rand/rand_lib.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/rand/rand_lib.c b/src/lib/libcrypto/rand/rand_lib.c
index b51db8acf6..5c5df98c98 100644
--- a/src/lib/libcrypto/rand/rand_lib.c
+++ b/src/lib/libcrypto/rand/rand_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rand_lib.c,v 1.21 2023/07/07 12:01:32 beck Exp $ */ 1/* $OpenBSD: rand_lib.c,v 1.22 2023/07/07 19:37:54 beck Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3 * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4 * 4 *
@@ -59,35 +59,30 @@ RAND_cleanup(void)
59{ 59{
60 60
61} 61}
62LCRYPTO_ALIAS(RAND_cleanup);
63 62
64void 63void
65RAND_seed(const void *buf, int num) 64RAND_seed(const void *buf, int num)
66{ 65{
67 66
68} 67}
69LCRYPTO_ALIAS(RAND_seed);
70 68
71void 69void
72RAND_add(const void *buf, int num, double entropy) 70RAND_add(const void *buf, int num, double entropy)
73{ 71{
74 72
75} 73}
76LCRYPTO_ALIAS(RAND_add);
77 74
78int 75int
79RAND_status(void) 76RAND_status(void)
80{ 77{
81 return 1; 78 return 1;
82} 79}
83LCRYPTO_ALIAS(RAND_status);
84 80
85int 81int
86RAND_poll(void) 82RAND_poll(void)
87{ 83{
88 return 1; 84 return 1;
89} 85}
90LCRYPTO_ALIAS(RAND_poll);
91 86
92/* 87/*
93 * Hurray. You've made it to the good parts. 88 * Hurray. You've made it to the good parts.
@@ -99,7 +94,6 @@ RAND_bytes(unsigned char *buf, int num)
99 arc4random_buf(buf, num); 94 arc4random_buf(buf, num);
100 return 1; 95 return 1;
101} 96}
102LCRYPTO_ALIAS(RAND_bytes);
103 97
104int 98int
105RAND_pseudo_bytes(unsigned char *buf, int num) 99RAND_pseudo_bytes(unsigned char *buf, int num)
@@ -108,4 +102,3 @@ RAND_pseudo_bytes(unsigned char *buf, int num)
108 arc4random_buf(buf, num); 102 arc4random_buf(buf, num);
109 return 1; 103 return 1;
110} 104}
111LCRYPTO_ALIAS(RAND_pseudo_bytes);