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-11-24 14:48:24 +0000
commitd2a979452e541183cae7e6e04634b5bbdab9c9d7 (patch)
treed04cff926996d2be6b1a58c3d696ab3f75fc97c6 /dirmngr/ks-engine-http.c
parentUpdated the German translation. (diff)
downloadgnupg-d2a979452e541183cae7e6e04634b5bbdab9c9d7.tar.gz
gnupg-d2a979452e541183cae7e6e04634b5bbdab9c9d7.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 '')
-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;