From e07d38f5f9f3b94e403f1265ff7fd3d7009dd557 Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Wed, 12 Aug 2015 06:46:43 -0400 Subject: [PATCH] Also check the return code in gpg_sign(). * src/engine-gpg.c (gpg_sign): Check return value from start(). --- src/engine-gpg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine-gpg.c b/src/engine-gpg.c index c3e36aeb..d1385926 100644 --- a/src/engine-gpg.c +++ b/src/engine-gpg.c @@ -2364,7 +2364,7 @@ gpg_sign (void *engine, gpgme_data_t in, gpgme_data_t out, err = add_data (gpg, out, 1, 1); if (!err) - start (gpg); + err = start (gpg); return err; }