Blame SOURCES/libssh-0.9.4-enable-sshd-sha1-algorithms.patch

3ca3b4
--- a/tests/torture.c	2020-04-09 16:16:07.691894761 +0200
3ca3b4
+++ b/tests/torture.c	2020-04-09 20:11:50.577962771 +0200
3ca3b4
@@ -636,6 +636,15 @@
3ca3b4
 # else /* HAVE_DSA */
3ca3b4
              "HostKeyAlgorithms +ssh-rsa\n"
3ca3b4
 # endif /* HAVE_DSA */
3ca3b4
+/* Add back algorithms removed from default in OpenSSH-8.2 due to SHA1
3ca3b4
+ * deprecation*/
3ca3b4
+# if (OPENSSH_VERSION_MAJOR == 8 && OPENSSH_VERSION_MINOR >= 2)
3ca3b4
+             "KexAlgorithms +diffie-hellman-group14-sha1,"
3ca3b4
+             "diffie-hellman-group-exchange-sha1,"
3ca3b4
+             "diffie-hellman-group1-sha1\n"
3ca3b4
+             "HostKeyAlgorithms +ssh-rsa\n"
3ca3b4
+             "CASignatureAlgorithms +ssh-rsa\n"
3ca3b4
+#endif
3ca3b4
 # if (OPENSSH_VERSION_MAJOR == 7 && OPENSSH_VERSION_MINOR < 6)
3ca3b4
              "Ciphers +3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc\n"
3ca3b4
 # else /* OPENSSH_VERSION 7.0 - 7.5 */