mirror of https://github.com/aria2/aria2
Fix openssl API version logic for libressl 2.7.x
parent
388d1ca330
commit
376854cfc4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue