From: William Lallemand Date: Thu, 26 Nov 2026 13:33:46 +0000 (+0100) Subject: Revert "BUG/MINOR: jwt: Create jwt tree entry even for new empty certificates" X-Git-Url: https://git.kaiwu.me/http/%22../static/control.html?a=commitdiff_plain;h=14226e93886ec1d6d34b77e298e4b7dd6d12dbe2;p=haproxy.git Revert "BUG/MINOR: jwt: Create jwt tree entry even for new empty certificates" This reverts commit e0783e24263c1bd3ea15837039e4c8b37cabaecf. Applied the patch twice by accident. --- diff --git a/src/ssl_ckch.c b/src/ssl_ckch.c index f3faa0565..77528283d 100644 --- a/src/ssl_ckch.c +++ b/src/ssl_ckch.c @@ -3490,14 +3490,6 @@ int ckch_store_create(char *path, char **err) goto error; } - /* Create empty entry into JWT-specific tree */ - if (jwt_tree_create_entry_from_store(store, err)) { - memprintf(err,"%scould not create jwt tree entry for '%s'.", err && *err ? *err : "", store->path); - ckch_store_free(store); - store = NULL; - goto error; - } - /* insert into the ckchs tree */ ebst_insert(&ckchs_tree, &store->node); memprintf(err, "New empty certificate store '%s'!\n", path);