View | Details | Raw Unified | Return to bug 198766 | Differences between
and this patch

Collapse All | Expand All

(-)www/links-hacked/files/patch-https.c (+14 lines)
Line 0 Link Here
1
--- https.c.orig	2008-06-07 07:41:41 UTC
2
+++ https.c
3
@@ -15,7 +15,10 @@ SSL *getSSL(void)
4
 	char f_randfile[PATH_MAX];
5
 
6
 	if (!context) {
7
-		if (RAND_egd(RAND_file_name(f_randfile, sizeof(f_randfile)))<0){
8
+#ifndef OPENSSL_NO_EGD
9
+		if (RAND_egd(RAND_file_name(f_randfile, sizeof(f_randfile)))<0)
10
+#endif
11
+		{
12
 			/* Not an EGD, so read and write to it */
13
 			if (RAND_load_file(f_randfile, -1))
14
 			       RAND_write_file(f_randfile);

Return to bug 198766