Merge pull request #1213 from Chaneybenjamini/libressl-pr

Fix build with Libressl version 2.7.x
pull/1431/head
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
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