dirmngr: ADNS error handling fix.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 27 Oct 2016 07:22:26 +0000 (16:22 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 27 Oct 2016 07:22:26 +0000 (16:22 +0900)
commit45dfc02b47f798f5a3b9973ca6a9f5a907d7e665
treee5501291cf711a5d038727010e5c927f8d5ac547
parenta15ed5a1fd5307b3ec1822daf3b138b187db0b5e
dirmngr: ADNS error handling fix.

* dirmngr/dns-stuff.c (resolve_name_adns, get_dns_cert, get_dns_cname):
Use gpg_error and gpg_err_code_from_errno to compose the error value.

--
This fixes commits 6f1d8123d61b3efac94b4c61ee75bd947790ba42.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
dirmngr/dns-stuff.c