]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: acme: add ACME to the haproxy -vv feature list
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 24 Jul 2025 09:47:20 +0000 (11:47 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 24 Jul 2025 09:49:11 +0000 (11:49 +0200)
Add "ACME" in the feature list in order to check if the support was
built successfully.

src/acme.c

index f3898b1cbd8a94743d94ee0381ad950fb0f731c0..9668e06ff0f4bdf8709e23637f8a99c6f5552660 100644 (file)
@@ -2457,9 +2457,14 @@ static struct cli_kw_list cli_kws = {{ },{
        { { NULL }, NULL, NULL, NULL }
 }};
 
-
 INITCALL1(STG_REGISTER, cli_register_kw, &cli_kws);
 
+static void __acme_init(void)
+{
+       hap_register_feature("ACME");
+}
+INITCALL0(STG_REGISTER, __acme_init);
+
 #endif /* ! HAVE_ACME */
 
 /*