diff options
author | Werner Koch <[email protected]> | 2016-12-16 19:09:27 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-12-16 19:09:27 +0000 |
commit | 59d3c3e4baffff52548fb5d1766ebf02dd8e1bec (patch) | |
tree | 0489c7fad8ea71914202b2b0699698a08d13f9bb /dirmngr/dirmngr.c | |
parent | doc: Wrap a too long line in DETAILS. (diff) | |
download | gnupg-59d3c3e4baffff52548fb5d1766ebf02dd8e1bec.tar.gz gnupg-59d3c3e4baffff52548fb5d1766ebf02dd8e1bec.zip |
dirmngr: Factor common libdns code out.
* dirmngr/dns-stuff.c (libdns_res_open): New. Replace all libdns_init
and dns-res_open by a call to this func.
(libdns_res_submit): New wrapper. Replace all dns_res_sumbit calls.
(libdns_res_wait): New function.
(resolve_name_libdns): Replace loop by libdns_res_wait.
(get_dns_cert_libdns): Ditto.
(getsrv_libdns): Ditto.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions