diff options
author | David Sommerseth <davids@redhat.com> | 2011-05-26 10:16:59 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-05-27 11:43:03 +0200 |
commit | 21fc2edfc49bcc903d5cfb74c1ba2f41ac8771f0 (patch) | |
tree | 2813e6d26127163daadb4afea53e432dee0b45a7 /syshead.h | |
parent | Merge remote-tracking branch 'cron2/feat_ipv6_payload_2.3' (diff) | |
download | openvpn-21fc2edfc49bcc903d5cfb74c1ba2f41ac8771f0.tar.xz |
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>
Diffstat (limited to 'syshead.h')
-rw-r--r-- | syshead.h | 2 |
1 files changed, 2 insertions, 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? |