diff options
author | Werner Koch <wk@gnupg.org> | 2017-07-26 10:58:15 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-07-26 10:58:15 +0200 |
commit | fd68bdb61ec4f8441da6d3023a8da4315df54cec (patch) | |
tree | f832e63f5887ea1e380989857315dfb152fbac0c /dirmngr/server.c | |
parent | agent,dirmngr: Check for homedir removal also using stat(2). (diff) | |
download | gnupg2-fd68bdb61ec4f8441da6d3023a8da4315df54cec.tar.xz gnupg2-fd68bdb61ec4f8441da6d3023a8da4315df54cec.zip |
dirmngr: Auto-enable Tor on startup or reload.
* dirmngr/dirmngr.c (dirmngr_use_tor): Test for Tor availibility.
--
GnuPG-bug-id: 2935
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'dirmngr/server.c')
-rw-r--r-- | dirmngr/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dirmngr/server.c b/dirmngr/server.c index 4f5a3b218..7ed6cde15 100644 --- a/dirmngr/server.c +++ b/dirmngr/server.c @@ -308,8 +308,8 @@ strcpy_escaped_plus (char *d, const unsigned char *s) } -/* This function returns true if a Tor server is running. The sattus - is cached for the current connection. */ +/* This function returns true if a Tor server is running. The status + * is cached for the current connection. */ static int is_tor_running (ctrl_t ctrl) { |