mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-20 02:42:09 +03:00
openssl.h: enable ed25519 for LibreSSL 3.7.0 (#778)
This brings LibreSSL libssh2 builds on par with OpenSSL.
This commit is contained in:
@@ -122,8 +122,9 @@
|
|||||||
# define LIBSSH2_ECDSA 1
|
# define LIBSSH2_ECDSA 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x10101000L && \
|
#if (OPENSSL_VERSION_NUMBER >= 0x10101000L && \
|
||||||
!defined(LIBRESSL_VERSION_NUMBER)
|
!defined(LIBRESSL_VERSION_NUMBER)) || \
|
||||||
|
LIBRESSL_VERSION_NUMBER >= 0x3070000fL
|
||||||
# define LIBSSH2_ED25519 1
|
# define LIBSSH2_ED25519 1
|
||||||
#else
|
#else
|
||||||
# define LIBSSH2_ED25519 0
|
# define LIBSSH2_ED25519 0
|
||||||
|
|||||||
Reference in New Issue
Block a user