]> git.kaiwu.me - haproxy.git/commit
MINOR: ssl: Add certificate's path to certificate_ocsp structure
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Wed, 1 Mar 2023 15:11:50 +0000 (16:11 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 2 Mar 2023 14:37:15 +0000 (15:37 +0100)
commit0c96ee48b4abcb0f5f9fc5b1f9f3e7d7311ebdef
tree95dbb867f7a51c7dde132e82d7f9ec5a63f7a3a0
parentad6cba83a407c36954af9ef4c953cb0a5040657c
MINOR: ssl: Add certificate's path to certificate_ocsp structure

In order to have some information about the frontend certificate when
dumping the contents of the ocsp update tree from the cli, we could
either keep a reference to a ckch_store in the certificate_ocsp
structure, which might cause some dangling reference problems, or
simply copy the path to the certificate in the ocsp response structure.
This latter solution was chosen because of its simplicity.
include/haproxy/ssl_ocsp-t.h
src/ssl_sock.c