X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=dirmngr%2Ft-dns-stuff.c;fp=dirmngr%2Ft-dns-stuff.c;h=bc4ca9a51ceeb1961cd1fdb343449e0e722d9a56;hb=e8c37e998ef31abe2ea7f0f6e643676d596f813a;hp=b087b5ead6aff56384cd060c20dd93f8c033495f;hpb=1a482a1e6578f08c34d38b0bd564587b29e1081c;p=gnupg2.git diff --git a/dirmngr/t-dns-stuff.c b/dirmngr/t-dns-stuff.c index b087b5e..bc4ca9a 100644 --- a/dirmngr/t-dns-stuff.c +++ b/dirmngr/t-dns-stuff.c @@ -51,7 +51,6 @@ main (int argc, char **argv) gpg_error_t err; int any_options = 0; int opt_tor = 0; - int opt_new_circuit = 0; int opt_cert = 0; int opt_srv = 0; int opt_bracket = 0; @@ -103,11 +102,6 @@ main (int argc, char **argv) opt_tor = 1; argc--; argv++; } - else if (!strcmp (*argv, "--new-circuit")) - { - opt_new_circuit = 1; - argc--; argv++; - } else if (!strcmp (*argv, "--standard-resolver")) { enable_standard_resolver (1); @@ -171,15 +165,7 @@ main (int argc, char **argv) init_sockets (); if (opt_tor) - { - err = enable_dns_tormode (opt_new_circuit); - if (err) - { - fprintf (stderr, "error switching into Tor mode: %s\n", - gpg_strerror (err)); - exit (1); - } - } + enable_dns_tormode (0); if (opt_cert) {