From 92f095084a03593a1c8b85cea4e50bd38e3123d9 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. --- TODO | 2 -- gpgme/ChangeLog | 5 +++++ gpgme/passphrase.c | 3 --- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index 13bffbc..ad90704 100644 --- a/TODO +++ b/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/gpgme/ChangeLog b/gpgme/ChangeLog index 974e1e2..5780a44 100644 --- a/gpgme/ChangeLog +++ b/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/gpgme/passphrase.c b/gpgme/passphrase.c index 9fa6a13..330246b 100644 --- a/gpgme/passphrase.c +++ b/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