aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2004-08-18 00:48:50 +0000
committerMarcus Brinkmann <[email protected]>2004-08-18 00:48:50 +0000
commit92f095084a03593a1c8b85cea4e50bd38e3123d9 (patch)
tree868dcd2f40479bfc81546618250618ddb671f2e2
parent2004-08-17 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-92f095084a03593a1c8b85cea4e50bd38e3123d9.tar.gz
gpgme-92f095084a03593a1c8b85cea4e50bd38e3123d9.zip
2004-08-18 Marcus Brinkmann <[email protected]>
* passphrase.c (_gpgme_passphrase_status_handler): Always run the status handler.
-rw-r--r--TODO2
-rw-r--r--gpgme/ChangeLog5
-rw-r--r--gpgme/passphrase.c3
3 files changed, 5 insertions, 5 deletions
diff --git a/TODO b/TODO
index 13bffbc0..ad907045 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 974e1e20..5780a445 100644
--- a/gpgme/ChangeLog
+++ b/gpgme/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-18 Marcus Brinkmann <[email protected]>
+
+ * passphrase.c (_gpgme_passphrase_status_handler): Always run the
+ status handler.
+
2004-08-17 Marcus Brinkmann <[email protected]>
* rungpg.c (build_argv): Use --no-sk-comment, not --no-comment.
diff --git a/gpgme/passphrase.c b/gpgme/passphrase.c
index 9fa6a130..330246b7 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;