1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-01-27 00:18:12 +03:00

openssl: make it compatible with wolfSSL built without OPENSSL_ALL

Cherry-picked from #1484
This commit is contained in:
Viktor Szakats
2025-01-31 01:44:45 +01:00
parent 008e82c0f8
commit 2da28146a0
2 changed files with 3 additions and 4 deletions

View File

@@ -3353,7 +3353,8 @@ _libssh2_md5_init(libssh2_md5_ctx *ctx)
*/
#if OPENSSL_VERSION_NUMBER >= 0x000907000L && \
!defined(USE_OPENSSL_3) && \
!defined(LIBRESSL_VERSION_NUMBER)
!defined(LIBRESSL_VERSION_NUMBER) && \
!defined(LIBSSH2_WOLFSSL)
if(FIPS_mode())
return 0;