summaryrefslogtreecommitdiff
path: root/www/lighttpd/files/patch-svn-2825
blob: 71e2fe443d326f43878ca0cbc921567e886187b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: src/network.c
===================================================================
--- src/network.c	(revision 2824)
+++ src/network.c	(revision 2825)
@@ -25,6 +25,14 @@
 # include <openssl/ssl.h>
 # include <openssl/err.h>
 # include <openssl/rand.h>
+# include <openssl/dh.h>
+# include <openssl/bn.h>
+
+# if OPENSSL_VERSION_NUMBER >= 0x0090800fL
+#  ifndef OPENSSL_NO_ECDH
+# include <openssl/ecdh.h>
+#  endif
+# endif
 #endif
 
 #ifdef USE_OPENSSL