Clear the kex-specific context in ssh->pkt_ctx for every new key
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 8 Jan 2005 13:28:41 +0000 (13:28 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 8 Jan 2005 13:28:41 +0000 (13:28 +0000)
commit149d2abcdd4fbe7e424debd86ccefc2be7d83b08
treedb615504611d6a5746d41df19a795a14b34817b4
parent3c89f872139317ccbc498188941eb33723b2b34c
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@5081 cda61777-01e9-0310-a592-d414129be87e
ssh.c