Mercurial > vanilla
diff network/libssh/patch-libressl.patch @ 720:100b1ba8672d
network/libssh: fix build with libressl
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 05 Aug 2019 12:41:20 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/network/libssh/patch-libressl.patch Mon Aug 05 12:41:20 2019 +0200 @@ -0,0 +1,11 @@ +--- include/libssh/libcrypto.h.orig 2019-08-05 09:41:00.104573122 +0000 ++++ include/libssh/libcrypto.h 2019-08-05 09:41:08.272573373 +0000 +@@ -112,7 +112,7 @@ + + + /* Returns true if the OpenSSL is operating in FIPS mode */ +-#define ssh_fips_mode() (FIPS_mode() != 0) ++#define ssh_fips_mode() false + + #endif /* HAVE_LIBCRYPTO */ +