aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ks-engine-http.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-11-24 14:48:24 +0000
committerWerner Koch <[email protected]>2011-12-02 20:57:32 +0000
commitcc7cc2b4693e88ae3a476e14d19decfa91a9786f (patch)
treec9fc2612393eb2ba130da2f2e17f5f546f8f7eb2 /dirmngr/ks-engine-http.c
parentUpdated the German translation. (diff)
downloadgnupg-cc7cc2b4693e88ae3a476e14d19decfa91a9786f.tar.gz
gnupg-cc7cc2b4693e88ae3a476e14d19decfa91a9786f.zip
Make HKP kyeserver engine work again.
We had some debug code here which prevented it from working. The host selection code still needs a review! * ks-engine-http.c (ks_http_help): Do not print help for hkp. * ks-engine-hkp.c (ks_hkp_help): Print help only for hkp. (send_request): Remove test code. (map_host): Use xtrymalloc. * certcache.c (classify_pattern): Remove unused variable and make explicit substring search work.
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 2ce1b19a1..b0e2e14cb 100644
--- a/dirmngr/ks-engine-http.c
+++ b/dirmngr/ks-engine-http.c
@@ -43,7 +43,7 @@ ks_http_help (ctrl_t ctrl, parsed_uri_t uri)
if (!uri)
err = ks_print_help (ctrl, " http");
- else if (uri->is_http)
+ else if (uri->is_http && strcmp (uri->scheme, "hkp"))
err = ks_print_help (ctrl, data);
else
err = 0;