More versions of WeOnlyDo have the rekey bug (but they've fixed it now).
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 29 Aug 2005 00:34:03 +0000 (00:34 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 29 Aug 2005 00:34:03 +0000 (00:34 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@6233 cda61777-01e9-0310-a592-d414129be87e

ssh.c

diff --git a/ssh.c b/ssh.c
index 349ef18..ee9345e 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -2250,7 +2250,8 @@ static void ssh_detect_bugs(Ssh ssh, char *vstring)
          wc_match("OpenSSH_2.5.[0-3]*", imp) ||
          wc_match("Sun_SSH_1.0", imp) ||
          wc_match("Sun_SSH_1.0.1", imp) ||
-         wc_match("WeOnlyDo-1.2.6", imp)))) {
+         /* All versions <= 1.2.6 (they changed their format in 1.2.7) */
+         wc_match("WeOnlyDo-*", imp)))) {
        /*
         * These versions have the SSH-2 rekey bug.
         */