diff options
author | Werner Koch <[email protected]> | 2016-12-16 20:56:23 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-12-16 20:56:23 +0000 |
commit | 024dbd7162fc1a7694176ebad3c21ee3ea67c024 (patch) | |
tree | 6150c18d71fbdbfaa9355c63dc675f669b882993 /dirmngr/dns.c | |
parent | dirmngr: Use one context for all libdns queries. (diff) | |
download | gnupg-024dbd7162fc1a7694176ebad3c21ee3ea67c024.tar.gz gnupg-024dbd7162fc1a7694176ebad3c21ee3ea67c024.zip |
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 <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions