]> git.kaiwu.me - haproxy.git/commitdiff
Revert "BUG/MINOR: jwt: Create jwt tree entry even for new empty certificates"
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 26 Nov 2026 13:33:46 +0000 (14:33 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 26 Nov 2026 13:33:46 +0000 (14:33 +0100)
This reverts commit e0783e24263c1bd3ea15837039e4c8b37cabaecf.

Applied the patch twice by accident.

src/ssl_ckch.c

index f3faa056509f2e70ab52d2594c8f2bf4599fac13..77528283d40ab9a337c8b330486e17bf30c96a07 100644 (file)
@@ -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);