dirmngr: Load the hosts file into libdns.
authorJustus Winter <justus@g10code.com>
Tue, 21 Mar 2017 13:18:25 +0000 (14:18 +0100)
committerJustus Winter <justus@g10code.com>
Tue, 21 Mar 2017 13:18:25 +0000 (14:18 +0100)
commit88f1505f0613894d5544290a170119eb538921e5
treedf50a568c33abbff499516dd987363c5e5ed7c36
parent06f1f163e96f1039304fd3cf565cf9de1ca45849
dirmngr: Load the hosts file into libdns.

* dirmngr/dns-stuff.c (libdns_init): Actually load the hosts file into
libdns.
--

Previously, connecting to key servers specified in /etc/hosts was not
possible because libdns' hosts structure was initialized, but not
filled with the content of the hosts file.

GnuPG-bug-id: 2977
Signed-off-by: Justus Winter <justus@g10code.com>
dirmngr/dns-stuff.c