Dimitry Andric spotted that DH gex with SHA-256 was overflowing a buffer.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 12 Mar 2006 19:24:05 +0000 (19:24 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 12 Mar 2006 19:24:05 +0000 (19:24 +0000)
commit754c0df9e163ff5c244239a201026858f4381e73
tree6039e1f386576ae4ac1e01274082a3ebf7c32a54
parentc6daaa1a4842b06f4eb0f7fef5f969d12b5020ce
Dimitry Andric spotted that DH gex with SHA-256 was overflowing a buffer.
Fixed, and added paranoia so that this shouldn't happen again.

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