mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-06-12 18:36:35 -04:00
Don't define ENABLE_PUSH_PEER_INFO if SSL is not available
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 <davids@redhat.com> Acked-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
parent
8a606673bd
commit
21fc2edfc4
1 changed files with 2 additions and 0 deletions
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Reference in a new issue