Piers Finlayson reports that "DigiSSH_2.0" chokes (in a new and exciting
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 5 Jul 2005 21:15:23 +0000 (21:15 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 5 Jul 2005 21:15:23 +0000 (21:15 +0000)
manner) on rekeys.  Add it to the list.

git-svn-id: svn://svn.tartarus.org/sgt/putty@6067 cda61777-01e9-0310-a592-d414129be87e

ssh.c

diff --git a/ssh.c b/ssh.c
index 24391d3..a9bed27 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -2245,7 +2245,8 @@ static void ssh_detect_bugs(Ssh ssh, char *vstring)
 
     if (ssh->cfg.sshbug_rekey2 == FORCE_ON ||
        (ssh->cfg.sshbug_rekey2 == AUTO &&
-        (wc_match("OpenSSH_2.[0-4]*", imp) ||
+        (wc_match("DigiSSH_2.0", imp) ||
+         wc_match("OpenSSH_2.[0-4]*", imp) ||
          wc_match("OpenSSH_2.5.[0-3]*", imp) ||
          wc_match("Sun_SSH_1.0", imp) ||
          wc_match("Sun_SSH_1.0.1", imp)))) {