2004-08-18 Marcus Brinkmann <marcus@g10code.de>

* passphrase.c (_gpgme_passphrase_status_handler): Always run the
	status handler.
This commit is contained in:
Marcus Brinkmann 2004-08-18 00:48:50 +00:00
parent 8802eb4240
commit 92f095084a
3 changed files with 5 additions and 5 deletions

2
TODO
View File

@ -95,8 +95,6 @@ Hey Emacs, this is -*- outline -*- mode!
** If an operation failed, make sure that the result functions don't return ** If an operation failed, make sure that the result functions don't return
corrupt partial information. !!! corrupt partial information. !!!
NOTE: The EOF status handler is not called in this case !!! 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. ** Verify must not fail on NODATA premature if auto-key-retrieval failed.
It should not fail silently if it knows there is an error. !!! It should not fail silently if it knows there is an error. !!!
** All operations: Better error reporting. !! ** All operations: Better error reporting. !!

View File

@ -1,3 +1,8 @@
2004-08-18 Marcus Brinkmann <marcus@g10code.de>
* passphrase.c (_gpgme_passphrase_status_handler): Always run the
status handler.
2004-08-17 Marcus Brinkmann <marcus@g10code.de> 2004-08-17 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (build_argv): Use --no-sk-comment, not --no-comment. * rungpg.c (build_argv): Use --no-sk-comment, not --no-comment.

View File

@ -62,9 +62,6 @@ _gpgme_passphrase_status_handler (void *priv, gpgme_status_code_t code,
void *hook; void *hook;
op_data_t opd; op_data_t opd;
if (!ctx->passphrase_cb)
return 0;
err = _gpgme_op_data_lookup (ctx, OPDATA_PASSPHRASE, &hook, err = _gpgme_op_data_lookup (ctx, OPDATA_PASSPHRASE, &hook,
sizeof (*opd), release_op_data); sizeof (*opd), release_op_data);
opd = hook; opd = hook;