From b576e30f32e2d0eee88bc828ea441887e6a82b73 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 23 Nov 2007 17:25:11 +0000 Subject: [PATCH] 2007-11-23 Marcus Brinkmann * gpgsm/t-verify.c (show_auditlog): Check for GPG_ERR_ASS_UNKNOWN_CMD. --- trunk/tests/ChangeLog | 4 ++++ trunk/tests/gpgsm/t-verify.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/trunk/tests/ChangeLog b/trunk/tests/ChangeLog index 259f560..9e16ce2 100644 --- a/trunk/tests/ChangeLog +++ b/trunk/tests/ChangeLog @@ -1,3 +1,7 @@ +2007-11-23 Marcus Brinkmann + + * gpgsm/t-verify.c (show_auditlog): Check for GPG_ERR_ASS_UNKNOWN_CMD. + 2007-11-23 Werner Koch * gpgsm/t-verify.c (check_result): Don't exit on error but set a flag. diff --git a/trunk/tests/gpgsm/t-verify.c b/trunk/tests/gpgsm/t-verify.c index c6c5d90..536ad46 100644 --- a/trunk/tests/gpgsm/t-verify.c +++ b/trunk/tests/gpgsm/t-verify.c @@ -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); -- 2.26.2