Skip to content

Commit

Permalink
Merge pull request aria2#1213 from Chaneybenjamini/libressl-pr
Browse files Browse the repository at this point in the history
Fix build with Libressl version 2.7.x
  • Loading branch information
tatsuhiro-t authored May 19, 2019
2 parents ecba262 + 376854c commit 0abde36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libssl_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0abde36

Please sign in to comment.