mirror of
https://github.com/libssh2/libssh2.git
synced 2026-10-24 03:48:58 +03:00
wolfssl: guard OPENSSL_VERSION_NUMBER off for wolfSSL
It may cause a confusing compiler warning in some cases, and also not
needed for wolfSSL builds.
Follow-up to 3ba252e2a6 #1644
Closes #2255
This commit is contained in:
@@ -159,7 +159,8 @@
|
||||
# define LIBSSH2_ED25519 1
|
||||
#endif
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x30500000L && \
|
||||
#if !defined(LIBSSH2_WOLFSSL) && \
|
||||
OPENSSL_VERSION_NUMBER >= 0x30500000L && \
|
||||
!defined(LIBRESSL_VERSION_NUMBER)
|
||||
# define LIBSSH2_MLKEM 1
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user