chiark / gitweb /
site.c: Allocate and free the Diffie--Hellman secret buffers each time.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 29 Apr 2017 12:55:40 +0000 (13:55 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 1 Jan 2020 23:48:14 +0000 (23:48 +0000)
commit0cd7090f53ec7185fdfebee38e9374607ec59f99
tree75670e46539aa0d1ab2baf738679f9a5bd360970
parent149933de622f3aca64647c9745c259a6c8efe226
site.c: Allocate and free the Diffie--Hellman secret buffers each time.

This will allow us to maybe use a different Diffie--Hellman group, with
different size requirements, to communicate with the same peer at a
later time.  We can't do this yet, of course, but the negotiation
machinery is coming soon.

Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
site.c