packages/net/lighttpd/patches/001-no_ec.patch
swalker 1d30eaec87 [packages] lighttpd: update to 1.4.29, add patch for OpenSSL's disabled elliptic curve
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-22 19:52:13 +00:00

15 lines
267 B
Diff

--- a/src/network.c
+++ b/src/network.c
@@ -480,9 +480,11 @@ int network_init(server *srv) {
network_backend_t backend;
#if OPENSSL_VERSION_NUMBER >= 0x0090800fL
+#ifndef OPENSSL_NO_ECDH
EC_KEY *ecdh;
int nid;
#endif
+#endif
#ifdef USE_OPENSSL
DH *dh;