[Bug 1991] openssl version checking needs updating

bugzilla-daemon at bugzilla.mindrot.org
Thu, 29 Mar 2012 23:45:56 -0000

--- Comment #1 from Darren Tucker <dtucker at zip.com.au> 2012-03-30
10:45:56 EST ---
Comment on attachment 2137
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2137
update openssl ver check

>+		(bldver >> 12) >= 0x10000 && (runver >> 12) <
(bldver >> 12)))

This is going to drop the status nybble off when it's shifted, which
means you can build against a dev version of openssl and run against a
release one.  There's no guarantee that's going to be binary
compatible, though.  The current check will catch that case, though.