]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Piers Finlayson reports that "DigiSSH_2.0" chokes (in a new and exciting
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 5 Jul 2005 21:15:23 +0000 (21:15 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 5 Jul 2005 21:15:23 +0000 (21:15 +0000)
manner) on rekeys.  Add it to the list.

[originally from svn r6067]

ssh.c

diff --git a/ssh.c b/ssh.c
index 24391d38c8385303707ab2d7fdb2d2be69678ef8..a9bed27a48fa932b081edc41da58f3beffe041b0 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)))) {