summaryrefslogtreecommitdiff
path: root/system/openssh/openssh-7.9_p1-openssl-1.0.2-compat.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-23 04:17:12 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-23 04:17:12 +0000
commit5f4c070256f086ad385eccdae2b95c16c8ef61dc (patch)
tree34b6643e00d1194befd8eb14cef224ff777805a0 /system/openssh/openssh-7.9_p1-openssl-1.0.2-compat.patch
parentee16dd2a37c88e2ada089485683a8a7c1f63891c (diff)
downloadpackages-5f4c070256f086ad385eccdae2b95c16c8ef61dc.tar.gz
packages-5f4c070256f086ad385eccdae2b95c16c8ef61dc.tar.bz2
packages-5f4c070256f086ad385eccdae2b95c16c8ef61dc.tar.xz
packages-5f4c070256f086ad385eccdae2b95c16c8ef61dc.zip
system/openssh: secbump to 7.9_p1
Diffstat (limited to 'system/openssh/openssh-7.9_p1-openssl-1.0.2-compat.patch')
-rw-r--r--system/openssh/openssh-7.9_p1-openssl-1.0.2-compat.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/openssh/openssh-7.9_p1-openssl-1.0.2-compat.patch b/system/openssh/openssh-7.9_p1-openssl-1.0.2-compat.patch
new file mode 100644
index 000000000..c1c310e8f
--- /dev/null
+++ b/system/openssh/openssh-7.9_p1-openssl-1.0.2-compat.patch
@@ -0,0 +1,13 @@
+diff --git a/openbsd-compat/openssl-compat.c b/openbsd-compat/openssl-compat.c
+index 8b4a3627..590b66d1 100644
+--- a/openbsd-compat/openssl-compat.c
++++ b/openbsd-compat/openssl-compat.c
+@@ -76,7 +76,7 @@ ssh_OpenSSL_add_all_algorithms(void)
+ ENGINE_load_builtin_engines();
+ ENGINE_register_all_complete();
+
+-#if OPENSSL_VERSION_NUMBER < 0x10001000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+ OPENSSL_config(NULL);
+ #else
+ OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS |