dirmngr: Pass Tor credentials to libdns.
authorWerner Koch <wk@gnupg.org>
Fri, 16 Dec 2016 19:25:02 +0000 (20:25 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 16 Dec 2016 19:25:02 +0000 (20:25 +0100)
commitddb48086833f8b86f0f0d69b21a23f245090ea7a
tree7ab21be0379cab31310b99e4e1a2faf4b52afaf7
parent59d3c3e4baffff52548fb5d1766ebf02dd8e1bec
dirmngr: Pass Tor credentials to libdns.

* dirmngr/dns-stuff.c (tor_credentials): Replace by ...
(tor_socks_user, tor_socks_password): new vars.
(enable_dns_tormode): Set these new vars.
(libdns_res_open): Tell libdns the socks credentials.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/dns-stuff.c