aboutsummaryrefslogtreecommitdiffstats
path: root/src/decrypt-verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decrypt-verify.c')
-rw-r--r--src/decrypt-verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decrypt-verify.c b/src/decrypt-verify.c
index b63318f2..18aa58cc 100644
--- a/src/decrypt-verify.c
+++ b/src/decrypt-verify.c
@@ -126,7 +126,7 @@ gpgme_op_decrypt_verify (gpgme_ctx_t ctx, gpgme_data_t cipher,
err = decrypt_verify_start (ctx, 1, GPGME_DECRYPT_VERIFY, cipher, plain);
if (!err)
- err = _gpgme_wait_one (ctx);
+ err = _gpgme_sync_wait (ctx, NULL, NULL);
ctx->ignore_mdc_error = 0; /* Always reset. */
return TRACE_ERR (err);
}
@@ -177,7 +177,7 @@ gpgme_op_decrypt_ext (gpgme_ctx_t ctx,
else
err = _gpgme_decrypt_start (ctx, 1, flags, cipher, plain);
if (!err)
- err = _gpgme_wait_one (ctx);
+ err = _gpgme_sync_wait (ctx, NULL, NULL);
ctx->ignore_mdc_error = 0; /* Always reset. */
return TRACE_ERR (err);
}