if we can't process it.
* decrypt-verify.c (decrypt_verify_status_handler): Backed out
yesterday's hack. It is not any longer required.
+2004-04-08 Werner Koch <wk@gnupg.org>
+
+ * verify.c (_gpgme_verify_status_handler): Ignore the error status
+ if we can't process it.
+ * decrypt-verify.c (decrypt_verify_status_handler): Backed out
+ yesterday's hack. It is not any longer required.
+
2004-04-07 Werner Koch <wk@gnupg.org>
* decrypt-verify.c (decrypt_verify_status_handler): Hack to cope
if (!err)
err = _gpgme_decrypt_status_handler (priv, code, args);
if (!err)
- {
err = _gpgme_verify_status_handler (priv, code, args);
- /* The verify status handler might not be in the state to verify
- a signature, either because there is no signature or we are
- currently processing the encrytion layer, and thus it will
- likely return "invalid engine" - we have to ignore it
- therefore. */
- if (gpg_err_code (err) == GPG_ERR_INV_ENGINE)
- err = 0;
- }
return err;
}
break;
case GPGME_STATUS_ERROR:
+ /* Note that this is an informational status code which should
+ not lead to an erro retunr unless it is something not related
+ to the backend. */
{
const char d_alg[] = "decrypt.algorithm";
const char u_alg[] = "Unsupported_Algorithm";
AM_PATH_GPGME macro) check that this header matches the installed
library. Warning: Do not edit the next line. configure will do
that for you! */
-#define GPGME_VERSION "0.4.6"
+#define GPGME_VERSION "0.4.7-cvs"
\f
/* Some opaque data types used by GPGME. */
/* verify.c - Signature verification.
Copyright (C) 2000 Werner Koch (dd9jn)
- Copyright (C) 2001, 2002, 2003 g10 Code GmbH
+ Copyright (C) 2001, 2002, 2003, 2004 g10 Code GmbH
This file is part of GPGME.
: gpg_error (GPG_ERR_INV_ENGINE);
case GPGME_STATUS_ERROR:
- return sig ? parse_error (sig, args) : gpg_error (GPG_ERR_INV_ENGINE);
+ /* The error status is informational, so we don't return an
+ error code if we are not ready to process this status. */
+ return sig ? parse_error (sig, args) : 0;
case GPGME_STATUS_EOF:
if (sig && !opd->did_prepare_new_sig)