[git] GnuPG - branch, master, updated. gnupg-2.1.12-84-g5faddcb

by Andre Heinecke cvs at cvs.gnupg.org
Tue Jun 14 20:43:48 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  5faddcb2927a997e05fb34eb270982096d1fe3a4 (commit)
      from  5f9bd7a9e1ed4edcbb6c4e908d4bea5cd7dc9e68 (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 5faddcb2927a997e05fb34eb270982096d1fe3a4
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Tue Jun 14 19:20:31 2016 +0200

    dirmngr: Print ldap error if bind fails
    
    * dirmngr/dirmngr_ldap.c (fetch_ldap): Use ldap_err2string on bind
    return.
    
    --
    ldap_simple_bind_s does not set errno.
    
    Signed-off-by: Andre Heinecke <aheinecke at intevation.de>

diff --git a/dirmngr/dirmngr_ldap.c b/dirmngr/dirmngr_ldap.c
index 6309413..a31b14a 100644
--- a/dirmngr/dirmngr_ldap.c
+++ b/dirmngr/dirmngr_ldap.c
@@ -644,7 +644,7 @@ fetch_ldap (my_opt_t myopt, const char *url, const LDAPURLDesc *ludp)
   if (ret)
     {
       log_error (_("binding to '%s:%d' failed: %s\n"),
-                 host, port, strerror (errno));
+                 host, port, ldap_err2string (ret));
       ldap_unbind (ld);
       return -1;
     }

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

Summary of changes:
 dirmngr/dirmngr_ldap.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