diff options
author | Werner Koch <[email protected]> | 2016-12-14 09:30:29 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-12-14 14:57:16 +0000 |
commit | 4a030f682ef48542ed324b28207f2c2b4847dbef (patch) | |
tree | 3bb0bfd58e4442d476f9453311516a09865e09ba /dirmngr/server.c | |
parent | dirmngr: Require a c99 compiler (diff) | |
download | gnupg-4a030f682ef48542ed324b28207f2c2b4847dbef.tar.gz gnupg-4a030f682ef48542ed324b28207f2c2b4847dbef.zip |
dirmngr: Fix bugs in the standard resolver code.
* dirmngr/dns-stuff.c: Include dirmngr-err.h to set the correct error
source.
(get_h_errno_as_gpg_error): New.
(get_dns_cert_libdns): Fix error code.
(getsrv_libdns): Add arg R_COUNT and return an error code.
(getsrv_standard): Ditto. Fix handling of res_query errors and
provide the correct size for the return buffer.
(getsrv): Adjust for changed worker functions.
(get_dns_cname_standard): Fix handling of res_query errors and provide
the correct size for the return buffer.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/server.c')
0 files changed, 0 insertions, 0 deletions