diff options
| author | Ben Chaney <chaneybenjamini@gmail.com> | 2018-06-03 01:10:36 -0400 |
|---|---|---|
| committer | Ben Chaney <chaneybenjamini@gmail.com> | 2018-06-03 01:10:36 -0400 |
| commit | 376854cfc4dd2141eeb1358fca0a2df84b3d1955 (patch) | |
| tree | 8720291e03f550fe4d291e9e487864a8c44d84b9 | |
| parent | 388d1ca3303128a233cafd275a4472e3c9cd0a17 (diff) | |
Fix openssl API version logic for libressl 2.7.x
| -rw-r--r-- | src/libssl_compat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libssl_compat.h b/src/libssl_compat.h index 0e03bfd7..cb2e3d97 100644 --- a/src/libssl_compat.h +++ b/src/libssl_compat.h @@ -44,6 +44,7 @@ #endif // !defined(LIBRESSL_VERSION_NUMBER) #define OPENSSL_101_API \ - (!LIBRESSL_IN_USE && OPENSSL_VERSION_NUMBER >= 0x1010000fL) + ((!LIBRESSL_IN_USE && OPENSSL_VERSION_NUMBER >= 0x1010000fL) || \ + (LIBRESSL_IN_USE && LIBRESSL_VERSION_NUMBER >= 0x20700000L)) #endif // LIBSSL_COMPAT_H |
