diff options
Diffstat (limited to '')
-rw-r--r-- | gpgme/sign.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gpgme/sign.c b/gpgme/sign.c index 0c2514c8..3d4896f0 100644 --- a/gpgme/sign.c +++ b/gpgme/sign.c @@ -255,9 +255,6 @@ gpgme_op_sign (GpgmeCtx ctx, GpgmeData in, GpgmeData out, GpgmeSigMode mode) { GpgmeError err = gpgme_op_sign_start (ctx, in, out, mode); if (!err) - { - gpgme_wait (ctx, 1); - err = ctx->error; - } + gpgme_wait (ctx, &err, 1); return err; } |