From 4ea2c7e0cbdcb8b6d4525a733bf51b1404e4aa0a Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 18 Aug 2004 00:48:50 +0000 Subject: [PATCH] 2004-08-18 Marcus Brinkmann * passphrase.c (_gpgme_passphrase_status_handler): Always run the status handler. --- trunk/TODO | 2 -- trunk/gpgme/ChangeLog | 5 +++++ trunk/gpgme/passphrase.c | 3 --- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/trunk/TODO b/trunk/TODO index 13bffbc..ad90704 100644 --- a/trunk/TODO +++ b/trunk/TODO @@ -95,8 +95,6 @@ Hey Emacs, this is -*- outline -*- mode! ** If an operation failed, make sure that the result functions don't return corrupt partial information. !!! NOTE: The EOF status handler is not called in this case !!! -** If no passphrase cb is installed, status handler is not run even if - password is required by crypto engine. !! ** Verify must not fail on NODATA premature if auto-key-retrieval failed. It should not fail silently if it knows there is an error. !!! ** All operations: Better error reporting. !! diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 974e1e2..5780a44 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2004-08-18 Marcus Brinkmann + + * passphrase.c (_gpgme_passphrase_status_handler): Always run the + status handler. + 2004-08-17 Marcus Brinkmann * rungpg.c (build_argv): Use --no-sk-comment, not --no-comment. diff --git a/trunk/gpgme/passphrase.c b/trunk/gpgme/passphrase.c index 9fa6a13..330246b 100644 --- a/trunk/gpgme/passphrase.c +++ b/trunk/gpgme/passphrase.c @@ -62,9 +62,6 @@ _gpgme_passphrase_status_handler (void *priv, gpgme_status_code_t code, void *hook; op_data_t opd; - if (!ctx->passphrase_cb) - return 0; - err = _gpgme_op_data_lookup (ctx, OPDATA_PASSPHRASE, &hook, sizeof (*opd), release_op_data); opd = hook; -- 2.26.2