Merge pull request #1213 from Chaneybenjamini/libressl-pr

Fix build with Libressl version 2.7.x
This commit is contained in:
Tatsuhiro Tsujikawa 2019-05-19 14:58:31 +09:00 committed by GitHub
commit 0abde36583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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