]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MEDIUM: acme: don't insert acme account key in ckchs_tree
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 9 Oct 2025 08:58:22 +0000 (10:58 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 9 Oct 2025 09:01:58 +0000 (11:01 +0200)
Don't insert the acme account key in the ckchs_tree anymore. ckch_store
are not made to only include a private key. CLI operations are not
possible with them either. That doesn't make much sense to keep it that
way until we rework the ckch_store.

src/acme.c

index 9ce93b03ed842c821fb5aa071d022871ed07b52d..62917c335528b7ca7c7afa88c0330e21ab220744 100644 (file)
@@ -734,8 +734,7 @@ static int cfg_postsection_acme()
                goto out;
        }
 
-       /* insert into the ckchs tree */
-       ebst_insert(&ckchs_tree, &store->node);
+       ckch_store_free(store);
 
 out:
        EVP_PKEY_free(key);