Also check the return code in gpg_sign().

* src/engine-gpg.c (gpg_sign): Check return value from start().
This commit is contained in:
Ben Kibbey 2015-08-12 06:46:43 -04:00
parent 8f28e3caf9
commit e07d38f5f9

View File

@ -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;
}