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>
Sun, 8 Dec 2019 00:21:52 +0000 (00:21 +0000)
commit4600c0a12c2eb805828b6380090033f3addb5e81
tree660e3e12e918769eb23e51834ce40f5eec047750
parent0ed31808d7a43b15fc52ecd317de31ef2848728e
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