Closed voegelas closed 6 years ago
This patch adds a check for LibreSSL to OpenSSL::Stack. LibreSSL is based on OpenSSL 1.0.2 but returns the version number 2.0.0.
This change fixes the failure in t/10-client-ca-file.t, which is reported in issue #66. The failures in t/01-basic.t are not fixed by this patch.
> $*DISTRO openbsd (6.3) > use OpenSSL::Version Nil > OpenSSL::Version::version() LibreSSL 2.7.2 > sprintf "%x", OpenSSL::Version::version_num() 20000000
See also https://github.com/libressl-portable/openbsd/blob/master/src/lib/libcrypto/opensslv.h
This patch adds a check for LibreSSL to OpenSSL::Stack. LibreSSL is based on OpenSSL 1.0.2 but returns the version number 2.0.0.
This change fixes the failure in t/10-client-ca-file.t, which is reported in issue #66. The failures in t/01-basic.t are not fixed by this patch.
See also https://github.com/libressl-portable/openbsd/blob/master/src/lib/libcrypto/opensslv.h