From: William Lallemand Date: Thu, 3 Jul 2025 13:08:37 +0000 (+0200) Subject: BUG/MINOR: ssl/ocsp: fix definition discrepancies with ocsp_update_init() X-Git-Tag: v3.3-dev3~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f6c6fa4cbb8c6bb7617e7a6e0b1d42fe398881b;p=thirdparty%2Fhaproxy.git BUG/MINOR: ssl/ocsp: fix definition discrepancies with ocsp_update_init() 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. --- diff --git a/src/ssl_ocsp.c b/src/ssl_ocsp.c index 3f993167b..1e461a1fc 100644 --- a/src/ssl_ocsp.c +++ b/src/ssl_ocsp.c @@ -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;