Hi,

On Thu, May 26, 2011 at 10:31:54AM +0200, David Sommerseth wrote:
> 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.

ACK.  

The dependency is somewhat non-obvious - took me a while to find
it, and then David had to point me to it.  options->push_peer_info is
only defined #ifdef USE_SSL, so without USE_SSL, code that tries to
access this variable will not compile.

As the actual pushing happens from within SSL/Crypto functions, trying
to define push_peer_info outside #ifdef USE_SSL would not help anything,
and as such, this is least-invasive cleanup.

--> ACK ;-)

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgp2I3B2sqbV8.pgp
Description: PGP signature

Reply via email to