]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: resolve issuers chain later
authorEmmanuel Hocdet <manu@gandi.net>
Tue, 18 Feb 2020 14:27:32 +0000 (15:27 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 26 Feb 2020 12:06:04 +0000 (13:06 +0100)
commitb90d2cbc4248a760493e3ce8a68ace5cdca8d97e
tree4f18e70b1785a07802bfa6478ba76fbd0879e367
parent75a7aa13da80959970c5b558c0c6beb473dbddd5
MINOR: ssl: resolve issuers chain later

The goal is to use the ckch to store data from a loaded PEM file or a
<payload> and only for that. This patch addresses the ckch->chain case.
Looking for the issuers chain, if no chain is present in the ckch, can
be done in ssl_sock_put_ckch_into_ctx(). This way it is possible to know
the origin of the certificate chain without an extra state.
src/ssl_sock.c