From 0a8808623a7bdc6170179f5f966af11ab9bebabb Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 21 Jun 2006 01:15:42 +0000 Subject: [PATCH] 2006-06-21 Marcus Brinkmann * gpgme.texi (Passphrase Callback): Fix inverted condition in description. --- doc/ChangeLog | 5 +++++ doc/gpgme.texi | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 394ca8f7..3355b406 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2006-06-21 Marcus Brinkmann + + * gpgme.texi (Passphrase Callback): Fix inverted condition in + description. + 2005-12-20 Werner Koch * gpgme.texi (Verify): Document pka_trust. diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 1fc4849c..b6809ade 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -2210,9 +2210,9 @@ previous attempts failed, then @var{prev_was_bad} is 1, otherwise it will be 0. The user must write the passphrase, followed by a newline character, -to the file descriptor @var{fd}. If the user does not return 0 -indicating success, the user must at least write a newline character -before returning from the callback. +to the file descriptor @var{fd}. If the user returns 0 indicating +success, the user must at least write a newline character before +returning from the callback. If an error occurs, return the corresponding @code{gpgme_error_t} value. You can use the error code @code{GPG_ERR_CANCELED} to abort