View | Details | Raw Unified | Return to bug 210727
Collapse All | Expand All

(-)b/www/links1/files/patch-https.c (+15 lines)
Added Link Here
1
$OpenBSD: patch-https_c,v 1.1 2014/04/19 17:42:59 sthen Exp $
2
--- https.c.orig	2006-09-11 02:09:24 UTC
3
+++ https.c
4
@@ -33,7 +33,10 @@ SSL *getSSL(void)
5
 		char f_randfile[PATH_MAX];
6
 
7
 		const char *f = RAND_file_name(f_randfile, sizeof(f_randfile));
8
-		if (f && RAND_egd(f)<0) {
9
+#ifndef OPENSSL_NO_EGD
10
+		if (f && RAND_egd(f)<0)
11
+#endif
12
+		{
13
 			/* Not an EGD, so read and write to it */
14
 			if (RAND_load_file(f_randfile, -1))
15
 				RAND_write_file(f_randfile);

Return to bug 210727