diff options
Diffstat (limited to 'gpgme/op-support.c')
| -rw-r--r-- | gpgme/op-support.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/gpgme/op-support.c b/gpgme/op-support.c index 1212c542..fefccc67 100644 --- a/gpgme/op-support.c +++ b/gpgme/op-support.c @@ -76,6 +76,9 @@ _gpgme_op_reset (gpgme_ctx_t ctx, int type)    type &= 255;    _gpgme_release_result (ctx); +  LOCK (ctx->lock); +  ctx->canceled = 0; +  UNLOCK (ctx->lock);    if (ctx->engine && no_reset)      reuse_engine = 1; | 
