diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2019-01-25 21:02:27 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2019-01-25 21:02:27 +0000 |
commit | a0e48abe9ff4876a388116e8eed23f82ae09cbce (patch) | |
tree | 37028e230ab7def162fb093c02a7a29f837aeb4c /security/libssh/files/patch-src_libcrypto-compat.h | |
parent | security/sops: update to 3.2.0 (diff) |
Remove any mention of SSH1 -- it is no longer provided by the code,
but trying to enable the port's option causes the port to fail to
package.
Add a shim to allow compiling against LibreSSL
PR: 233346, 232437
Submitted by: Arrigo Marchiori, Franco Fichtner
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=491204
Diffstat (limited to 'security/libssh/files/patch-src_libcrypto-compat.h')
-rw-r--r-- | security/libssh/files/patch-src_libcrypto-compat.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/security/libssh/files/patch-src_libcrypto-compat.h b/security/libssh/files/patch-src_libcrypto-compat.h new file mode 100644 index 000000000000..449c9c26cfdd --- /dev/null +++ b/security/libssh/files/patch-src_libcrypto-compat.h @@ -0,0 +1,12 @@ +--- src/libcrypto-compat.h 2018-10-19 05:11:14 UTC ++++ src/libcrypto-compat.h +@@ -2,7 +2,8 @@ + #define LIBCRYPTO_COMPAT_H + + #include <openssl/opensslv.h> +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ ++ (defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x20700000L) + + #include <openssl/rsa.h> + #include <openssl/dsa.h> |