aboutsummaryrefslogtreecommitdiffstats
path: root/src/encrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/encrypt.c')
-rw-r--r--src/encrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encrypt.c b/src/encrypt.c
index c5f668ea..61158b9c 100644
--- a/src/encrypt.c
+++ b/src/encrypt.c
@@ -319,7 +319,7 @@ gpgme_op_encrypt_ext (gpgme_ctx_t ctx, gpgme_key_t recp[],
err = encrypt_start (ctx, 1, recp, recpstring, flags, plain, cipher);
if (!err)
- err = _gpgme_wait_one (ctx);
+ err = _gpgme_sync_wait (ctx, NULL, NULL);
return TRACE_ERR (err);
}