]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Add exceptions for "VShell" to the ssh.com bug compatibility modes (which are
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Sat, 24 May 2003 19:03:34 +0000 (19:03 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Sat, 24 May 2003 19:03:34 +0000 (19:03 +0000)
just numbers) in an attempt to fix `vshell-no-bug-compat'.
Not even tested a little bit.

[originally from svn r3219]

ssh.c

diff --git a/ssh.c b/ssh.c
index 20a5ce4d1a38bb2a755d5008c5c52d513e531d6b..ce57b22dabce2b6c028eec18e10c0ce238075b2f 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -1813,6 +1813,7 @@ static void ssh_detect_bugs(Ssh ssh, char *vstring)
 
     if (ssh->cfg.sshbug_hmac2 == FORCE_ON ||
        (ssh->cfg.sshbug_hmac2 == AUTO &&
+        !wc_match("* VShell", imp) &&
         (wc_match("2.1.0*", imp) || wc_match("2.0.*", imp) ||
          wc_match("2.2.0*", imp) || wc_match("2.3.0*", imp) ||
          wc_match("2.1 *", imp)))) {
@@ -1825,6 +1826,7 @@ static void ssh_detect_bugs(Ssh ssh, char *vstring)
 
     if (ssh->cfg.sshbug_derivekey2 == FORCE_ON ||
        (ssh->cfg.sshbug_derivekey2 == AUTO &&
+        !wc_match("* VShell", imp) &&
         (wc_match("2.0.0*", imp) || wc_match("2.0.10*", imp) ))) {
        /*
         * These versions have the key-derivation bug (failing to