summaryrefslogtreecommitdiff
path: root/recipes-connectivity/openssh/openssh/openssh-8.1p1-conditional-compile-des-in-cipher.patch
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2019-12-19 08:24:02 -0600
committerJeff Hatch <jhatch@multitech.com>2019-12-19 08:24:02 -0600
commita1ffd5bf3bb458c5ec70ace159018e9d71336247 (patch)
tree64a8130189b36d8802f96cf627358970cefac694 /recipes-connectivity/openssh/openssh/openssh-8.1p1-conditional-compile-des-in-cipher.patch
parent2ca44c76f6d3b3f120c8e8c7cd0387c66d9a7157 (diff)
parent7454b299f9c5d13f7c1415b3fbffcda5a4bf4726 (diff)
downloadmeta-mlinux-a1ffd5bf3bb458c5ec70ace159018e9d71336247.tar.gz
meta-mlinux-a1ffd5bf3bb458c5ec70ace159018e9d71336247.tar.bz2
meta-mlinux-a1ffd5bf3bb458c5ec70ace159018e9d71336247.zip
Merge branch 'openssh-add'
Diffstat (limited to 'recipes-connectivity/openssh/openssh/openssh-8.1p1-conditional-compile-des-in-cipher.patch')
-rw-r--r--recipes-connectivity/openssh/openssh/openssh-8.1p1-conditional-compile-des-in-cipher.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-connectivity/openssh/openssh/openssh-8.1p1-conditional-compile-des-in-cipher.patch b/recipes-connectivity/openssh/openssh/openssh-8.1p1-conditional-compile-des-in-cipher.patch
new file mode 100644
index 0000000..507026c
--- /dev/null
+++ b/recipes-connectivity/openssh/openssh/openssh-8.1p1-conditional-compile-des-in-cipher.patch
@@ -0,0 +1,13 @@
+--- a/cipher.c 2019-12-03 12:46:22.282290586 -0600
++++ b/cipher.c 2019-12-03 12:45:19.273805437 -0600
+@@ -158,8 +158,10 @@
+ u_int
+ cipher_seclen(const struct sshcipher *c)
+ {
++#ifndef OPENSSL_NO_DES
+ if (strcmp("3des-cbc", c->name) == 0)
+ return 14;
++#endif
+ return cipher_keylen(c);
+ }
+