mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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.
This commit is contained in:
parent
725d3589ad
commit
231d27e0fe
6 changed files with 20 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue