Files
buildroot/package/c-icap/0003-Fix-http_auth_method-release_authentication_header-m.patch
Bernd Kuhls 97c434f731 package/c-icap: bump version to 0.5.14
0.5.11: https://sourceforge.net/p/c-icap/mailman/message/38634903/
0.5.12: https://sourceforge.net/p/c-icap/mailman/message/58723532/
0.5.13: https://github.com/c-icap/c-icap-server/compare/C_ICAP_0.5.12...C_ICAP_0.5.13
        (no announcement found)
0.5.14: https://sourceforge.net/p/c-icap/mailman/message/59202148/

Rebased patch 0001 due to upstream commit
1559d1662a

Rebased patch 0003 due to upstream commit
b650bfdd4a

Removed patch 0004 which is included in this release:
16cdaa505d

Renamed patches 0005 & 0006.

Disabled zstd support added upstream with commit
1559d1662a
due to build errors when enabled:

encode.c: In function 'ci_compress_to_membuf':
encode.c:75:16: error: implicit declaration of function
 'ci_zstd_compress_to_membuf'; did you mean 'ci_decompress_to_membuf'?
 [-Wimplicit-function-declaration]

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-04-14 19:12:45 +02:00

36 lines
1.1 KiB
Diff

From 9ca4e5e2bd5fdf1d15a862faf8d4d1ddc0664bd0 Mon Sep 17 00:00:00 2001
From: Christos Tsantilas <christos@chtsanti.net>
Date: Fri, 21 Feb 2025 13:34:06 +0200
Subject: [PATCH] Fix http_auth_method::release_authentication_header method
declaration
Requires a "char *" argument.
Reported with PR#72 at github:
https://github.com/c-icap/c-icap-server/pull/72
Upstream: 48a221b0197727b26f90c00544fa19c67d0f5d47
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Bernd: rebased for 0.5.14]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
http_auth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/http_auth.c b/http_auth.c
index 1883b55..b831bb1 100644
--- a/http_auth.c
+++ b/http_auth.c
@@ -62,7 +62,7 @@ int http_authenticate(ci_request_t * req, char *use_method)
authenticator_module_t **authenticators;
void *method_data;
const char *auth_str, *method_str, *username;
- char *auth_header = NULL;
+ const char *auth_header = NULL;
int len, res;
if (ALLOW_REMOTE_PROXY_USERS && !use_method) {
--
2.51.0