dirmngr: Add a getaddrinfo wrapper backend using ADNS.
authorWerner Koch <wk@gnupg.org>
Wed, 28 Oct 2015 07:55:01 +0000 (08:55 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 28 Oct 2015 07:55:01 +0000 (08:55 +0100)
commite026efb4363bc6e3c41ed533daf06f103ebd2e32
treeefedbe3f26ebd304ddb78babd164e444c4894096
parenta6c2c098435a703ca02abf651ff4fa45e5a4db9a
dirmngr: Add a getaddrinfo wrapper backend using ADNS.

* dirmngr/dns-stuff.c: Replace all use of default_errsource.
(my_adns_init): Move to top.
(resolve_name_adns): New.
(resolve_dns_name) [USE_ADNS]: Divert to new func.

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