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>
Tue, 14 Feb 2017 00:29:34 +0000 (00:29 +0000)
commitf5f34ae0b5a8a7cb0fd4f7bb8271841a3da29cc9
tree2f905dfb4786a6e231bb978ccc9d8a36e9f88a6a
parent4e4f0a967100a861e048ad589a7959c228b85035
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