Sun_SSH_1.0.1 also has BUG_SSH2_REKEY.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 11 Jan 2005 13:24:47 +0000 (13:24 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 11 Jan 2005 13:24:47 +0000 (13:24 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@5094 cda61777-01e9-0310-a592-d414129be87e

ssh.c

diff --git a/ssh.c b/ssh.c
index f4b6154..6312d8a 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -2139,7 +2139,8 @@ static void ssh_detect_bugs(Ssh ssh, char *vstring)
 
     if (ssh->cfg.sshbug_rekey2 == FORCE_ON ||
        (ssh->cfg.sshbug_rekey2 == AUTO &&
-        wc_match("Sun_SSH_1.0", imp))) {
+        (wc_match("Sun_SSH_1.0", imp) ||
+         wc_match("Sun_SSH_1.0.1", imp)))) {
        /*
         * These versions have the SSH2 ignore-rekey bug.
         */