Home GnuPG
Diffusion GnuPG 024dbd7162fc

dirmngr: Auto-switch from Tor port to Torbrowser port.
024dbd7162fcUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

dirmngr: Auto-switch from Tor port to Torbrowser port.

* dirmngr/dns-stuff.c (libdns_tor_port): New var.
(set_dns_nameserver): Clear that var.
(libdns_init): Init var to the default port.
(libdns_switch_port_p): New func.
(resolve_dns_name): Use function to switch the port
(get_dns_cert): Ditto.
(getsrv): Ditto.
(get_dns_cname): Ditto.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Dec 16 2016, 9:56 PM
Parents
rGc4e8a3194d6b: dirmngr: Use one context for all libdns queries.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG024dbd7162fc: dirmngr: Auto-switch from Tor port to Torbrowser port. (authored by Werner Koch <wk@gnupg.org>).Dec 16 2016, 9:56 PM