[git] GnuPG - branch, master, updated. gnupg-2.1.15-290-g8a9341b

by NIIBE Yutaka cvs at cvs.gnupg.org
Thu Oct 27 07:52:30 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  8a9341b42cd1891090d45cc068bff84b2b3edb50 (commit)
      from  ca0ee4e381d0b6a57e4ddc8f4bb2390eb97a2540 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8a9341b42cd1891090d45cc068bff84b2b3edb50
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Thu Oct 27 14:49:17 2016 +0900

    dirmngr: Fix error return for ADNS.
    
    * dirmngr/dns-stuff.c (resolve_name_adns): Use RET for return value.
    
    --
    There are cases where libadns returns an error without setting the
    variable ERRNO.
    
    GnuPG-bug-id: 2745
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/dirmngr/dns-stuff.c b/dirmngr/dns-stuff.c
index ac295b0..284ef09 100644
--- a/dirmngr/dns-stuff.c
+++ b/dirmngr/dns-stuff.c
@@ -278,7 +278,7 @@ resolve_name_adns (const char *name, unsigned short port,
   my_protect ();
   if (ret)
     {
-      err = gpg_error_from_syserror ();
+      err = ret;
       log_error ("DNS query failed: %s\n", gpg_strerror (err));
       goto leave;
     }

-----------------------------------------------------------------------

Summary of changes:
 dirmngr/dns-stuff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list