Sun_SSH_1.0.1 also has BUG_SSH2_REKEY.
[u/mdw/putty] / 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.
         */