mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
BUG_SSH2_DERIVEKEY is apparently only present in SSH 2.0.11 and
before, not in 2.0.13. Verified on at least one host. Fixes bug `ssh2-keyderive-nonbug'. [originally from svn r2342]
This commit is contained in:
parent
801832bf59
commit
8cb52a26e1
2
ssh.c
2
ssh.c
@ -1788,7 +1788,7 @@ static void ssh_detect_bugs(Ssh ssh, char *vstring)
|
|||||||
|
|
||||||
if (cfg.sshbug_derivekey2 == BUG_ON ||
|
if (cfg.sshbug_derivekey2 == BUG_ON ||
|
||||||
(cfg.sshbug_derivekey2 == BUG_AUTO &&
|
(cfg.sshbug_derivekey2 == BUG_AUTO &&
|
||||||
(wc_match("2.0.*", imp)))) {
|
(wc_match("2.0.0*", imp) || wc_match("2.0.1[01]*", 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
|
||||||
|
Loading…
Reference in New Issue
Block a user