mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-21 13:05:04 -05:00
Add exceptions for "VShell" to the ssh.com bug compatibility modes (which are
just numbers) in an attempt to fix `vshell-no-bug-compat'. Not even tested a little bit. [originally from svn r3219]
This commit is contained in:
parent
fa0fa6d17d
commit
e955cc77ce
2
ssh.c
2
ssh.c
@ -1813,6 +1813,7 @@ static void ssh_detect_bugs(Ssh ssh, char *vstring)
|
|||||||
|
|
||||||
if (ssh->cfg.sshbug_hmac2 == FORCE_ON ||
|
if (ssh->cfg.sshbug_hmac2 == FORCE_ON ||
|
||||||
(ssh->cfg.sshbug_hmac2 == AUTO &&
|
(ssh->cfg.sshbug_hmac2 == AUTO &&
|
||||||
|
!wc_match("* VShell", imp) &&
|
||||||
(wc_match("2.1.0*", imp) || wc_match("2.0.*", 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.2.0*", imp) || wc_match("2.3.0*", imp) ||
|
||||||
wc_match("2.1 *", 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 ||
|
if (ssh->cfg.sshbug_derivekey2 == FORCE_ON ||
|
||||||
(ssh->cfg.sshbug_derivekey2 == AUTO &&
|
(ssh->cfg.sshbug_derivekey2 == AUTO &&
|
||||||
|
!wc_match("* VShell", imp) &&
|
||||||
(wc_match("2.0.0*", imp) || wc_match("2.0.10*", 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user