]> 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)
commite0783e24263c1bd3ea15837039e4c8b37cabaecf
tree2d6501e8a2cb194f4400f8ec0bb657fb965c1331
parent825e018da29eaf27a378ab117a79b377f4466c20
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