Skip to content

Commit

Permalink
Enable OpenSSL_version for LibreSSL. (#99)
Browse files Browse the repository at this point in the history
The functions OpenSSL_version_num() and OpenSSL_version() are
available since LibreSSL 2.7.0.
  • Loading branch information
bluhm authored and h-vn committed Nov 19, 2018
1 parent ce5f62e commit 20ecb22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SSLeay.xs
Original file line number Diff line number Diff line change
Expand Up @@ -1829,7 +1829,7 @@ const char *
SSLeay_version(type=SSLEAY_VERSION)
int type

#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (LIBRESSL_VERSION_NUMBER >= 0x2070000fL)

unsigned long
OpenSSL_version_num()
Expand Down

0 comments on commit 20ecb22

Please sign in to comment.