aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/gpgkeys_http.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2005-06-22 04:16:29 +0000
committerDavid Shaw <[email protected]>2005-06-22 04:16:29 +0000
commit7f4d49b470f35c71bdaa70332345c9b8002b59a3 (patch)
tree13652c1bd1839f54512d202c73563991b6127894 /keyserver/gpgkeys_http.c
parent* http.h: Fix prototypes for http_open_document and http_open to pass (diff)
downloadgnupg-7f4d49b470f35c71bdaa70332345c9b8002b59a3.tar.gz
gnupg-7f4d49b470f35c71bdaa70332345c9b8002b59a3.zip
* gpgkeys_http.c (get_key), gpgkeys_oldhkp.c (send_key, get_key,
search_key): Fix http_open/http_open_document calls to pass NULL for auth and proxyauth since these programs pass them in the URL.
Diffstat (limited to '')
-rw-r--r--keyserver/gpgkeys_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyserver/gpgkeys_http.c b/keyserver/gpgkeys_http.c
index b11970989..10178b878 100644
--- a/keyserver/gpgkeys_http.c
+++ b/keyserver/gpgkeys_http.c
@@ -76,7 +76,7 @@ get_key(char *getkey)
sprintf(request,"http://%s%s%s%s%s%s%s",auth[0]?auth:"",auth[0]?"@":"",
host,port[0]?":":"",port[0]?port:"",path[0]?"":"/",path);
- rc=http_open_document(&hd,request,http_flags,proxy[0]?proxy:NULL);
+ rc=http_open_document(&hd,request,NULL,http_flags,proxy[0]?proxy:NULL,NULL);
if(rc!=0)
{
fprintf(console,"gpgkeys: HTTP fetch error: %s\n",