[git] GPGME - branch, master, updated. gpgme-1.5.5-5-g8f28e3c

by Ben Kibbey cvs at cvs.gnupg.org
Tue Aug 11 23:57:05 CEST 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 "GnuPG Made Easy".

The branch, master has been updated
       via  8f28e3caf95d7bc99e9271bfc2b44080166af31f (commit)
      from  08086dd6901740e155e4361212b4e9cff8a47296 (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 8f28e3caf95d7bc99e9271bfc2b44080166af31f
Author: Ben Kibbey <bjk at luxsci.net>
Date:   Mon Aug 10 21:23:02 2015 -0400

    Check the return value when starting gpg.
    
    * src/engine-gpg.c (gpg_decrypt, gpg_delete, gpg_passwd): Check return
    value of start().

diff --git a/src/engine-gpg.c b/src/engine-gpg.c
index 510dfd9..c3e36ae 100644
--- a/src/engine-gpg.c
+++ b/src/engine-gpg.c
@@ -1456,7 +1456,7 @@ gpg_decrypt (void *engine, gpgme_data_t ciph, gpgme_data_t plain)
     err = add_data (gpg, ciph, -1, 0);
 
   if (!err)
-    start (gpg);
+    err = start (gpg);
   return err;
 }
 
@@ -1479,7 +1479,7 @@ gpg_delete (void *engine, gpgme_key_t key, int allow_secret)
     }
 
   if (!err)
-    start (gpg);
+    err = start (gpg);
   return err;
 }
 
@@ -1497,7 +1497,7 @@ gpg_passwd (void *engine, gpgme_key_t key, unsigned int flags)
   if (!err)
     err = add_arg (gpg, key->subkeys->fpr);
   if (!err)
-    start (gpg);
+    err = start (gpg);
   return err;
 }
 

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

Summary of changes:
 src/engine-gpg.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


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




More information about the Gnupg-commits mailing list