]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: ssl: load DH param in struct cert_key_and_chain
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 23 Jul 2019 14:06:08 +0000 (16:06 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 29 Jul 2019 13:28:46 +0000 (15:28 +0200)
commitfa8922285d540e1541b0d40a86b7aaebb7f18536
tree41caa42a154872ace3e420781d0a8eaf93d65cbb
parent6af03991dacb3db5860c67cf2156d87f720c8d21
MEDIUM: ssl: load DH param in struct cert_key_and_chain

Load the DH param at the same time as the certificate, we don't need to
open the file once more and read it again. We store it in the ckch_node.

There is a minor change comparing to the previous way of loading the DH
param in a bundle. With a bundle, the DH param in a certificate file was
never loaded, it only used the global DH or the default DH, now it's
able to use the DH param from a certificate file.
src/ssl_sock.c