aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/gpgkeys_oldhkp.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2005-06-23 04:26:01 +0000
committerDavid Shaw <[email protected]>2005-06-23 04:26:01 +0000
commitffa685408049f2ee094416bd4e0ebab7706b2d62 (patch)
treece4c87f7cb168dc7193116e01ed51b07c3c047e1 /keyserver/gpgkeys_oldhkp.c
parent* http.h: Fix prototypes for http_open_document and http_open again, (diff)
downloadgnupg-ffa685408049f2ee094416bd4e0ebab7706b2d62.tar.gz
gnupg-ffa685408049f2ee094416bd4e0ebab7706b2d62.zip
* gpgkeys_http.c (get_key), gpgkeys_oldhkp (send_key, get_key,
search_key): No longer need to pass a proxyauth. * gpgkeys_http.c (get_key): Pass auth outside of the URL.
Diffstat (limited to 'keyserver/gpgkeys_oldhkp.c')
-rw-r--r--keyserver/gpgkeys_oldhkp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyserver/gpgkeys_oldhkp.c b/keyserver/gpgkeys_oldhkp.c
index 3b89bd66e..38865a7ff 100644
--- a/keyserver/gpgkeys_oldhkp.c
+++ b/keyserver/gpgkeys_oldhkp.c
@@ -149,7 +149,7 @@ send_key(int *eof)
fprintf(console,"gpgkeys: HTTP URL is `%s'\n",request);
rc=http_open(&hd,HTTP_REQ_POST,request,NULL,http_flags,
- proxy[0]?proxy:NULL,NULL);
+ proxy[0]?proxy:NULL);
if(rc)
{
fprintf(console,"gpgkeys: unable to connect to `%s'\n",host);
@@ -253,7 +253,7 @@ get_key(char *getkey)
if(verbose>2)
fprintf(console,"gpgkeys: HTTP URL is `%s'\n",request);
- rc=http_open_document(&hd,request,NULL,http_flags,proxy[0]?proxy:NULL,NULL);
+ rc=http_open_document(&hd,request,NULL,http_flags,proxy[0]?proxy:NULL);
if(rc!=0)
{
fprintf(console,"gpgkeys: HKP fetch error: %s\n",
@@ -676,7 +676,7 @@ search_key(char *searchkey)
if(verbose>2)
fprintf(console,"gpgkeys: HTTP URL is `%s'\n",request);
- rc=http_open_document(&hd,request,NULL,http_flags,proxy[0]?proxy:NULL,NULL);
+ rc=http_open_document(&hd,request,NULL,http_flags,proxy[0]?proxy:NULL);
if(rc)
{
fprintf(console,"gpgkeys: can't search keyserver `%s': %s\n",