2007-11-23 Marcus Brinkmann <marcus@g10code.de>

* gpgsm/t-verify.c (show_auditlog): Check for GPG_ERR_ASS_UNKNOWN_CMD.
This commit is contained in:
Marcus Brinkmann 2007-11-23 17:25:11 +00:00
parent c07011580a
commit f6ebf8638f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-11-23 Marcus Brinkmann <marcus@g10code.de>
* gpgsm/t-verify.c (show_auditlog): Check for GPG_ERR_ASS_UNKNOWN_CMD.
2007-11-23 Werner Koch <wk@g10code.com>
* gpgsm/t-verify.c (check_result): Don't exit on error but set a flag.

View File

@ -123,7 +123,8 @@ show_auditlog (gpgme_ctx_t ctx)
{
fprintf (stderr, "%s:%i: Can't get audit log: %s\n",
__FILE__, __LINE__, gpgme_strerror (err));
got_errors = 1;
if (gpg_err_code (err) != GPG_ERR_ASS_UNKNOWN_CMD)
got_errors = 1;
}
print_data (data);
gpgme_data_release (data);