[git] GPGME - branch, master, updated. gpgme-1.9.0-69-gbfb3a01

by Marcus Brinkmann cvs at cvs.gnupg.org
Wed Aug 23 15:40:35 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 "GnuPG Made Easy".

The branch, master has been updated
       via  bfb3a01a0c55aa327dcab061fa808672362cb09d (commit)
      from  57c12593082e4ad302041269f1c35f2fe7d2fb1a (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 bfb3a01a0c55aa327dcab061fa808672362cb09d
Author: Marcus Brinkmann <marcus.brinkmann at ruhr-uni-bochum.de>
Date:   Wed Aug 23 15:38:11 2017 +0200

    Fix a couple of bugs pointed out by clang compiler warnings.
    
    * src/engine-gpgconf.c (gpgconf_config_dir_cb): Fix cast.
    * src/key.c (_gpgme_key_add_sig): Fix pointer reference.
    
    Signed-off-by: Marcus Brinkmann <mb at g10code.com>

diff --git a/src/engine-gpgconf.c b/src/engine-gpgconf.c
index 84d8df7..ba5a73d 100644
--- a/src/engine-gpgconf.c
+++ b/src/engine-gpgconf.c
@@ -996,7 +996,7 @@ static gpgme_error_t
 gpgconf_config_dir_cb (void *hook, char *line)
 {
   /* This is an input- and output-parameter.  */
-  struct gpgconf_config_dir_s *data = (char **) hook;
+  struct gpgconf_config_dir_s *data = (struct gpgconf_config_dir_s *) hook;
   int len = strlen(data->what);
 
   if (!strncmp(line, data->what, len) && line[len] == ':')
diff --git a/src/key.c b/src/key.c
index e2e30db..bb4d5fd 100644
--- a/src/key.c
+++ b/src/key.c
@@ -292,7 +292,7 @@ _gpgme_key_add_sig (gpgme_key_t key, char *src)
 		       &sig->comment, dst);
     }
   else
-    sig->uid = '\0';
+    sig->uid[0] = '\0';
 
   if (!uid->signatures)
     uid->signatures = sig;

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

Summary of changes:
 src/engine-gpgconf.c | 2 +-
 src/key.c            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list