blob: d14c2d23d024242f813f2ff35818f3e7e5f7c6c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- a/openssl.c
+++ b/openssl.c
@@ -137,7 +137,11 @@ ssl_rand_init(void)
if ((cp = value("ssl-rand-egd")) != NULL) {
cp = expand(cp);
+#ifndef OPENSSL_NO_EGD
if (RAND_egd(cp) == -1) {
+#else
+ if (1) {
+#endif
fprintf(stderr, catgets(catd, CATSET, 245,
"entropy daemon at \"%s\" not available\n"),
cp);
|