De-duplicate code in KEXINIT generation.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 21 Aug 2012 22:33:31 +0000 (22:33 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 21 Aug 2012 22:33:31 +0000 (22:33 +0000)
commitcc18f25619e3eca6233c4e162985390ee80e26a9
tree23d423a3874d7bf230d41e10425e640338182f2c
parentbc0741471148b6f7227e73367f0bdaba12e23804
De-duplicate code in KEXINIT generation.

There's no need to have identical code generating server-to-client and
client-to-server versions of the cipher and MAC lists; a couple of
twice-around loops will do fine.

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