]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: ssl/ckch: wrong function name in ckch_conf_kws
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 6 Nov 2025 11:03:29 +0000 (12:03 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 6 Nov 2025 11:03:29 +0000 (12:03 +0100)
ckch_conf_load_pem does not exist anymore and
ckch_conf_load_pem_or_generate must be used instead

src/ssl_ckch.c

index 3135b70b9323ae8f58de83c089c8b10245562a05..6bc4ebde77bc17e8632384503f4950f59720421c 100644 (file)
@@ -4793,7 +4793,7 @@ DECLARE_CKCH_CONF_LOAD(sctl,          current_crtbase, ssl_sock_load_sctl_from_f
 struct ckch_conf_kws ckch_conf_kws[] = {
        { "alias",        -1,                                           PARSE_TYPE_NONE,  NULL,                           },
        { "crt",          offsetof(struct ckch_conf, crt),              PARSE_TYPE_STR,   ckch_conf_load_pem_or_generate  },
-       { "key",          offsetof(struct ckch_conf, key),              PARSE_TYPE_STR,   ckch_conf_load_key,             },
+       { "key",          offsetof(struct ckch_conf, key),              PARSE_TYPE_STR,   ckch_conf_load_key_or_generate  },
 #ifdef HAVE_SSL_OCSP
        { "ocsp",         offsetof(struct ckch_conf, ocsp),             PARSE_TYPE_STR,   ckch_conf_load_ocsp_response,   },
 #endif