packages/net/lighttpd/patches/001-no_ec.patch

15 lines
267 B
Diff
Raw Normal View History

--- 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;