diff options
author | Marcus Brinkmann <[email protected]> | 2002-02-06 01:20:49 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2002-02-06 01:20:49 +0000 |
commit | 69ab559a7b7ea9f05b68911d17bb33b7f85c033c (patch) | |
tree | f66d40de6adc897fdf19459c3ea0baebe5974e7d /gpgme/encrypt.c | |
parent | doc/ (diff) | |
download | gpgme-69ab559a7b7ea9f05b68911d17bb33b7f85c033c.tar.gz gpgme-69ab559a7b7ea9f05b68911d17bb33b7f85c033c.zip |
doc/
2002-02-06 Marcus Brinkmann <[email protected]>
* gpgme.texi (Waiting For Completion): Adjust doc to changes in
the code.
gpgme/
2002-02-06 Marcus Brinkmann <[email protected]>
* wait.c (gpgme_wait): Add new argument STATUS, in which the
status of the returned context is returned.
(_gpgme_wait_on_condition): Rework the function a bit, to make it
aware of cancelled processes, and to allow to use gpgme_wait with
CTX being NULL (as documented in the source).
(struct proc_s): New member REPORTED.
* gpgme.h: Fix prototype.
* verify.c (gpgme_op_verify): Fix use of gpgme_wait.
* sign.c (gpgme_op_sign):
* import.c (gpgme_op_import):
* genkey.c (gpgme_op_genkey):
* export.c (gpgme_op_export):
* encrypt.c (gpgme_op_encrypt):
* delete.c (gpgme_op_delete):
* decrypt-verify.c (gpgme_op_decrypt_verify):
Diffstat (limited to '')
-rw-r--r-- | gpgme/encrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpgme/encrypt.c b/gpgme/encrypt.c index 37c50964..1984db3b 100644 --- a/gpgme/encrypt.c +++ b/gpgme/encrypt.c @@ -212,7 +212,7 @@ gpgme_op_encrypt (GpgmeCtx ctx, GpgmeRecipients recp, int err = gpgme_op_encrypt_start (ctx, recp, plain, cipher); if (!err) { - gpgme_wait (ctx, 1); + gpgme_wait (ctx, &err, 1); /* Old gpg versions don't return status info for invalid recipients, so we simply check whether we got any output at all, and if not we assume that we don't have valid |