]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Sun_SSH_1.0.1 also has BUG_SSH2_REKEY.
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 11 Jan 2005 13:24:47 +0000 (13:24 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 11 Jan 2005 13:24:47 +0000 (13:24 +0000)
[originally from svn r5094]

ssh.c

diff --git a/ssh.c b/ssh.c
index f4b615427c8c127ec70928cdbcbd2400cbb8d62b..6312d8a747756b94bb79ae1fe0c87d59082a6211 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.
         */