Home GnuPG
Diffusion GnuPG 4c13e4e3debe

dirmngr: Implement CNAME and SRV record lookup via libdns.
4c13e4e3debeUnpublished

Unpublished Commit · Learn More

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

Description

dirmngr: Implement CNAME and SRV record lookup via libdns.

* dirmngr/dns-stuff.c (dns_free): New macro.
(libdns): Move var to the top.
(libdns_error_to_gpg_error): Map error codes to the new gpg-error
codes.
(resolve_name_libdns): Restructure code.
(getsrv_libdns): New.
(get_dns_cname_libdns): New.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Dec 14 2016, 10:47 AM
Parents
rG4a030f682ef4: dirmngr: Fix bugs in the standard resolver code.
Branches
Unknown
Tags
Unknown

Event Timeline