diff options
author | Werner Koch <[email protected]> | 2011-11-24 14:48:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2011-11-24 15:15:08 +0000 |
commit | 231d27e0fec905be52d679961332947c3331f15f (patch) | |
tree | d04cff926996d2be6b1a58c3d696ab3f75fc97c6 /dirmngr/ks-engine-http.c | |
parent | Updated the German translation. (diff) | |
download | gnupg-231d27e0fec905be52d679961332947c3331f15f.tar.gz gnupg-231d27e0fec905be52d679961332947c3331f15f.zip |
Make HKP keyserver 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.c | 2 |
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; |