]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Clear the kex-specific context in ssh->pkt_ctx for every new key
authorSimon Tatham <anakin@pobox.com>
Sat, 8 Jan 2005 13:28:41 +0000 (13:28 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 8 Jan 2005 13:28:41 +0000 (13:28 +0000)
commitd72eb8f6db779f4873b6c86488ae998c1f3e6f59
treedb615504611d6a5746d41df19a795a14b34817b4
parent7647f57dc43155606132afc75f354b99c41a899a
Clear the kex-specific context in ssh->pkt_ctx for every new key
exchange. Without doing this, after we have done one specific-group
DH exchange (group1 or group14), ssh2_pkt_type _always_ translates
30 and 31 as KEXDH_INIT and KEXDH_REPLY, making a subsequent
group-exchange kex look rather strange in an SSH packet log.

[originally from svn r5081]
ssh.c