aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ks-engine-hkp.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-hkp.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-hkp.c')
-rw-r--r--dirmngr/ks-engine-hkp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/ks-engine-hkp.c b/dirmngr/ks-engine-hkp.c
index a75cc1aee..75fe19987 100644
--- a/dirmngr/ks-engine-hkp.c
+++ b/dirmngr/ks-engine-hkp.c
@@ -1327,7 +1327,7 @@ send_request (ctrl_t ctrl, const char *request, const char *hostportstr,
{
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;