[git] GnuPG - branch, master, updated. gnupg-2.1.10-14-g71726b6

by Justus Winter cvs at cvs.gnupg.org
Mon Dec 7 11:33:47 CET 2015


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  71726b627dcff015dc12568021b31d8ccede788a (commit)
      from  b5cd68852d0e3485c9e13a8ddb70f05f36a65cb9 (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 71726b627dcff015dc12568021b31d8ccede788a
Author: Justus Winter <justus at g10code.com>
Date:   Mon Dec 7 11:21:47 2015 +0100

    dirmngr: Initialize http status code.
    
    * dirmngr/ks-action.c (ks_action_search): Initialize 'http_status' as
    it is unused if LDAP is used to search for keys.
    --
    This amends 6ac57a48.
    
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/dirmngr/ks-action.c b/dirmngr/ks-action.c
index 1da91cc..21aa646 100644
--- a/dirmngr/ks-action.c
+++ b/dirmngr/ks-action.c
@@ -162,7 +162,7 @@ ks_action_search (ctrl_t ctrl, uri_item_t keyservers,
     {
       int is_http = uri->parsed_uri->is_http;
       int is_ldap = 0;
-      unsigned int http_status;
+      unsigned int http_status = 0;
 #if USE_LDAP
       is_ldap = (strcmp (uri->parsed_uri->scheme, "ldap") == 0
 		 || strcmp (uri->parsed_uri->scheme, "ldaps") == 0

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

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