[git] GnuPG - branch, master, updated. gnupg-2.1.21-135-g789401e

by NIIBE Yutaka cvs at cvs.gnupg.org
Mon Jul 24 08:36:26 CEST 2017


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  789401e9557db13422f47a8c09e693f3cee0132b (commit)
      from  274602820cfbb15c7cdb4525acd9793bdb472e78 (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 789401e9557db13422f47a8c09e693f3cee0132b
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Mon Jul 24 15:35:34 2017 +0900

    dirmngr: More minor fixes.
    
    * dirmngr/http.c (http_verify_server_credentials): Duplicated const.
    * dirmngr/ldap.c (parse_one_pattern): Add comment.
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/dirmngr/http.c b/dirmngr/http.c
index c641070..b16de7d 100644
--- a/dirmngr/http.c
+++ b/dirmngr/http.c
@@ -3282,7 +3282,7 @@ gpg_error_t
 http_verify_server_credentials (http_session_t sess)
 {
 #if HTTP_USE_GNUTLS
-  static const char const errprefix[] = "TLS verification of peer failed";
+  static const char errprefix[] = "TLS verification of peer failed";
   int rc;
   unsigned int status;
   const char *hostname;
diff --git a/dirmngr/ldap.c b/dirmngr/ldap.c
index d661a68..adf8307 100644
--- a/dirmngr/ldap.c
+++ b/dirmngr/ldap.c
@@ -363,6 +363,7 @@ parse_one_pattern (const char *pattern)
       break;
     case '*':
       pattern++;
+      /* fall through */
     default:			/* Take as substring match. */
       {
 	const char format[] = "(|(sn=*%s*)(|(cn=*%s*)(mail=*%s*)))";

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

Summary of changes:
 dirmngr/http.c | 2 +-
 dirmngr/ldap.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)


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




More information about the Gnupg-commits mailing list