1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00

Fix `ssh2.0.11-keyderive-nonbug' on the strength of Ben's analysis.

Not tested it myself.

[originally from svn r2861]
This commit is contained in:
Jacob Nevins 2003-02-18 20:10:24 +00:00
parent 670289a8b8
commit 2bb23257f2

2
ssh.c
View File

@ -1772,7 +1772,7 @@ static void ssh_detect_bugs(Ssh ssh, char *vstring)
if (ssh->cfg.sshbug_derivekey2 == FORCE_ON || if (ssh->cfg.sshbug_derivekey2 == FORCE_ON ||
(ssh->cfg.sshbug_derivekey2 == AUTO && (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 * These versions have the key-derivation bug (failing to
* include the literal shared secret in the hashes that * include the literal shared secret in the hashes that