Home GnuPG
Diffusion GnuPG d26c51825e22

dirmngr: Fix for --disable-libdns usage.
d26c51825e22Unpublished

Unpublished Commit · Learn More

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

Description

dirmngr: Fix for --disable-libdns usage.

* dirmngr/dns-stuff.c (enable_recursive_resolver, set_dns_nameserver)
(reload_dns_stuff): Conditionalize with USE_LIBDNS.
(get_h_errno_as_gpg_error): Map HOST_NOT_FOUND to GPG_ERR_NO_NAME.

get_dns_srv assumes error code of GPG_ERR_NO_NAME when no SRV record
available.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
  • GnuPG-bug-id: T2889

Details

Provenance
gniibeAuthored on Dec 23 2016, 8:05 AM
Parents
rG1909e994cb87: tools: Show a clearer error message if a server doesn't support WKS
Branches
Unknown
Tags
Unknown