Fix behaviour of OpenSSL_version().
authorjsing <jsing@openbsd.org>
Sat, 17 Feb 2018 06:56:12 +0000 (06:56 +0000)
committerjsing <jsing@openbsd.org>
Sat, 17 Feb 2018 06:56:12 +0000 (06:56 +0000)
commitb4b5f48aa5bbe02388570b6bfec3980c4eaef108
tree08563ec0172886fdec8666786a650d11363e29f6
parent6162865d5a398d96a08adabe216b292ee3bf4afa
Fix behaviour of OpenSSL_version().

The constant values do not map 1:1 to SSLeay_version(), so implement it
separately.

Issue noted by schwarze@
lib/libcrypto/cversion.c