From: David Sommerseth Date: Thu, 26 May 2011 10:31:54 +0200 Message-Id: <1306398714-10124-1-git-send-email-davids@...1347...> Subject: [Openvpn-devel] [PATCH] Don't define ENABLE_PUSH_PEER_INFO if SSL is not available List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net Cc: David Sommerseth The push_peer_info feature depends on the SSL infrastructure and openvpn will fail to build if ./configure --disable-crypto --disable-ssl is used. The solution is to not define ENABLE_PUSH_PEER_INFO if we don't have crypto/ssl. Signed-off-by: David Sommerseth --- syshead.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/syshead.h b/syshead.h index 5b86cad..82b94eb 100644 --- a/syshead.h +++ b/syshead.h @@ -681,7 +681,9 @@ socket_defined (const socket_descriptor_t sd) /* * Do we support pushing peer info? */ +#if defined(USE_CRYPTO) && defined(USE_SSL) #define ENABLE_PUSH_PEER_INFO +#endif /* * Do we support internal client-side NAT? -- 1.7.4.4