]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix an SSH-breaking bug from the fuzzing merge.
authorSimon Tatham <anakin@pobox.com>
Sat, 7 Nov 2015 20:15:24 +0000 (20:15 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 7 Nov 2015 20:15:24 +0000 (20:15 +0000)
commitb003e5cf534235f89f4de34c8d7b61baef7fe8ea
treea4460a94ec15d14c859b1ad86b7cc11f582fba8d
parentf3230c85457cc3d13c46e8ea91c9748dcd0054af
Fix an SSH-breaking bug from the fuzzing merge.

When we set ssh->sc{cipher,mac} to s->sc{cipher,mac}_tobe
conditionally, we should be conditionalising on the values we're
_reading_, not the ones we're about to overwrite.

Thanks to Colin Harrison for this patch.
ssh.c