]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: jwt: Create jwt tree entry even for new empty certificates
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Thu, 26 Nov 2026 10:11:53 +0000 (11:11 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 26 Nov 2026 13:14:09 +0000 (14:14 +0100)
commit7dcc9681fe930fce66c09b8cf695b9d54546f533
treeeaf5158cf1a9d701a93ddb6ff79a63ca5c0caeac
parent97622eeafb9313dd62be1dd649a15a00eaa5e0c5
BUG/MINOR: jwt: Create jwt tree entry even for new empty certificates

A new empty certificate created by calling "new ssl cert" directly
followed by "commit ssl cert" would not have a corresponding JWT tree
entry created since only the data-loading code paths were covered in the
previous jwt tree related commits.
With this patch we always have a corresponding jwt tree entry for every
ckch_store.

This patch can be backported to 3.4.
src/ssl_ckch.c