]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: ssl/ocsp: fix definition discrepancies with ocsp_update_init()
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 3 Jul 2025 13:08:37 +0000 (15:08 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 3 Jul 2025 13:14:13 +0000 (15:14 +0200)
Since patch 20718f40b6 ("MEDIUM: ssl/ckch: add filename and linenum
argument to crt-store parsing"), the definition of ocsp_update_init()
and its declaration does not share the same arguments.

Must be backported to 3.2.

src/ssl_ocsp.c

index 3f993167b43c209a676e248d24a8002fdc4c3cf6..1e461a1fc1ece7ba8f80a91c1312538608a8b6fd 100644 (file)
@@ -2075,7 +2075,7 @@ static int ocsp_update_parse_global_http_proxy(char **args, int section_type, st
        return 0;
 }
 
-int ocsp_update_init(void *value, char *buf, struct ckch_data *d, int cli, char **err)
+int ocsp_update_init(void *value, char *buf, struct ckch_data *d, int cli, char *filename, int linenum, char **err)
 {
        int ocsp_update_mode = *(int *)value;
        int ret = 0;