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

(-)irc/ircd-hybrid/files/patch-src_rsa.c (+16 lines)
Line 0 Link Here
1
--- src/rsa.c.orig	2013-06-23 19:49:22.000000000 +0200
2
+++ src/rsa.c	2015-03-10 20:19:06.002564940 +0100
3
@@ -68,11 +68,13 @@
4
 int
5
 get_randomness(unsigned char *buf, int length)
6
 {
7
+#ifdef HAVE_RAND_EGD
8
   /* Seed OpenSSL PRNG with EGD enthropy pool -kre */
9
   if (ConfigFileEntry.use_egd &&
10
       ConfigFileEntry.egdpool_path)
11
     if (RAND_egd(ConfigFileEntry.egdpool_path) == -1)
12
       return -1;
13
+#endif
14
 
15
   if (RAND_status())
16
     return RAND_bytes(buf, length);
(-)irc/ircd-hybrid/files/patch-src_s__serv.c (+10 lines)
Line 0 Link Here
1
--- src/s_serv.c.orig	2013-06-23 19:49:22.000000000 +0200
2
+++ src/s_serv.c	2015-03-10 20:12:43.301585509 +0100
3
@@ -25,6 +25,7 @@
4
 #include "stdinc.h"
5
 #ifdef HAVE_LIBCRYPTO
6
 #include <openssl/rsa.h>
7
+#include <openssl/comp.h>
8
 #include "rsa.h"
9
 #endif
10
 #include "list.h"

Return to bug 198505