diff options
Diffstat (limited to 'gpgme/encrypt-sign.c')
| -rw-r--r-- | gpgme/encrypt-sign.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/gpgme/encrypt-sign.c b/gpgme/encrypt-sign.c index 68ab115c..3e28773a 100644 --- a/gpgme/encrypt-sign.c +++ b/gpgme/encrypt-sign.c @@ -51,6 +51,10 @@ _gpgme_op_encrypt_sign_start (GpgmeCtx ctx, int synchronous,    if (err)      return err; +  err = _gpgme_op_sign_init_result (ctx); +  if (err) +    return err; +    if (!plain)      return GPGME_No_Data;    if (!cipher) | 
