chiark
/
gitweb
/
~ian
/
gnupg2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dirmngr: New option --no-use-tor and internal changes.
[gnupg2.git]
/
dirmngr
/
dns-stuff.c
diff --git
a/dirmngr/dns-stuff.c
b/dirmngr/dns-stuff.c
index ad19fc2ce3433e12cad362ec1f8c682661120a7a..52f011a006772e0c0a2410fd09ac2d69831dedb4 100644
(file)
--- a/
dirmngr/dns-stuff.c
+++ b/
dirmngr/dns-stuff.c
@@
-222,6
+222,14
@@
enable_dns_tormode (int new_circuit)
}
+/* Disable tor mode. */
+void
+disable_dns_tormode (void)
+{
+ tor_mode = 0;
+}
+
+
/* Set verbosity and debug mode for this module. */
void
set_dns_verbose (int verbose, int debug)