Fix openssl API version logic for libressl 2.7.x

pull/1213/head
Ben Chaney 2018-06-03 01:10:36 -04:00
parent 388d1ca330
commit 376854cfc4
1 changed files with 2 additions and 1 deletions

View File

@ -44,6 +44,7 @@
#endif // !defined(LIBRESSL_VERSION_NUMBER) #endif // !defined(LIBRESSL_VERSION_NUMBER)
#define OPENSSL_101_API \ #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 #endif // LIBSSL_COMPAT_H