chiark / gitweb /
gpg: Print a warning on Tor problems.
authorWerner Koch <wk@gnupg.org>
Tue, 24 Jan 2017 19:45:31 +0000 (20:45 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 18 Sep 2017 20:41:12 +0000 (21:41 +0100)
commitb236328cca0d116a22ff4332e206a8419a0aa32f
treeb250285a297628dc3648b481edd0fffc3b82eb86
parent6feb2a5a3f3bd2bc146e3c5f447ea364429f1c94
gpg: Print a warning on Tor problems.

* dirmngr/ks-engine-hkp.c (tor_not_running_p): New.
(map_host): Call that to print a warning.
(handle_send_request_error): Ditto and avoid marking the host dead.
Also print a tor_config_problem warning.  Add arg CTRL; adjust callers
to pass that new arg.
* g10/call-dirmngr.c (ks_status_cb): Detect and print the new
warnings.

Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 770b75a746836773909af25ccb9b480e61cea677)

Gbp-Pq: Name 0016-gpg-Print-a-warning-on-Tor-problems.patch
dirmngr/ks-engine-hkp.c
g10/call-dirmngr.c