search for: bldver

Displaying 1 result from an estimated 1 matches for "bldver".

2012 Mar 15
11
[Bug 1991] New: openssl version checking needs updating
...ch major, minor, fix and status (not patch) + * We match major, minor, fix and status (not patch) for <1.0.0. + * After that, we acceptable compatible minor versions (so we + * allow 1.0.1 to work with 1.0.0). */ - if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L) + u_long bldver = OPENSSL_VERSION_NUMBER & ~0xff0L; + u_long runver = SSLeay() & ~0xff0L; + if ((bldver >> 12) < 0x10000 && bldver != runver) || + (bldver >> 12) >= 0x10000 && (runver >> 12) < (bldver >> 12))) fatal("OpenSSL version mi...