Fix `ssh2.0.11-keyderive-nonbug' on the strength of Ben's analysis.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Tue, 18 Feb 2003 20:10:24 +0000 (20:10 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Tue, 18 Feb 2003 20:10:24 +0000 (20:10 +0000)
Not tested it myself.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2861 cda61777-01e9-0310-a592-d414129be87e

ssh.c

diff --git a/ssh.c b/ssh.c
index ba2e075..76dc2ec 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -1772,7 +1772,7 @@ static void ssh_detect_bugs(Ssh ssh, char *vstring)
 
     if (ssh->cfg.sshbug_derivekey2 == FORCE_ON ||
        (ssh->cfg.sshbug_derivekey2 == AUTO &&
-        (wc_match("2.0.0*", imp) || wc_match("2.0.1[01]*", imp) ))) {
+        (wc_match("2.0.0*", imp) || wc_match("2.0.10*", imp) ))) {
        /*
         * These versions have the key-derivation bug (failing to
         * include the literal shared secret in the hashes that