blob: 6e8a8a215f359a0dcece8f03466e8b997541d8e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- https.c.orig 2018-02-08 18:01:11 UTC
+++ https.c
@@ -34,7 +34,10 @@ SSL *getSSL(void)
{
char f_randfile[PATH_MAX];
const char *f = RAND_file_name(f_randfile, sizeof(f_randfile));
- if (f && RAND_egd(f)<0) {
+#ifndef OPENSSL_NO_EGD
+ if (f && RAND_egd(f)<0)
+#endif
+ {
/* Not an EGD, so read and write to it */
if (RAND_load_file(f_randfile, -1))
RAND_write_file(f_randfile);
|