Home GnuPG
Diffusion GnuPG 59d3c3e4baff

dirmngr: Factor common libdns code out.
59d3c3e4baffUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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 <wk@gnupg.org>

Details

Provenance
wernerAuthored on Dec 16 2016, 8:09 PM
Parents
rG41a426a1a01e: doc: Wrap a too long line in DETAILS.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG59d3c3e4baff: dirmngr: Factor common libdns code out. (authored by Werner Koch <wk@gnupg.org>).Dec 16 2016, 8:09 PM