aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ks-engine-http.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-10-02 10:53:41 +0000
committerWerner Koch <[email protected]>2023-10-02 11:05:49 +0000
commit53bdb7440cbe18f73548169528167190d70998ed (patch)
treed945ed7ba3bad4d72f2140654dc89210e0ea3792 /dirmngr/ks-engine-http.c
parentcommon: Add new function b64decode. (diff)
downloadgnupg-53bdb7440cbe18f73548169528167190d70998ed.tar.gz
gnupg-53bdb7440cbe18f73548169528167190d70998ed.zip
dirmngr: Extended the http_get_header function.
* dirmngr/http.c (send_request): Add arg 'skip'. Adjust all callers. -- GnuPG-bug-id: 6719
Diffstat (limited to 'dirmngr/ks-engine-http.c')
-rw-r--r--dirmngr/ks-engine-http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/ks-engine-http.c b/dirmngr/ks-engine-http.c
index 48a734786..5091ddf27 100644
--- a/dirmngr/ks-engine-http.c
+++ b/dirmngr/ks-engine-http.c
@@ -180,7 +180,7 @@ ks_http_fetch (ctrl_t ctrl, const char *url, unsigned int flags,
{
xfree (request_buffer);
err = http_prepare_redirect (&redirinfo, http_get_status_code (http),
- http_get_header (http, "Location"),
+ http_get_header (http, "Location", 0),
&request_buffer);
if (err)
goto leave;