Hi, On Thu, Apr 13, 2017 at 07:26:09PM +0200, David Sommerseth wrote: > +/* Strip out some of the version information we don't care about */ > +#define OSSLVER OPENSSL_VERSION_NUMBER >> 12 > +#if OSSLVER < 0x10001 > +#error OpneSSL too old > +#endif
While this works (except for the typo) - why not just do full-length math, as in #if OPENSSL_VERSION_NUMBER < 0x10001000L #error OpneSSL too old #endif (note the L prefix, as in the opensslv.h #define) ? 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
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel