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