1d30eaec87
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27726 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
267 B
Diff
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;
|