2007-11-23 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Fri, 23 Nov 2007 17:25:11 +0000 (17:25 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Fri, 23 Nov 2007 17:25:11 +0000 (17:25 +0000)
* gpgsm/t-verify.c (show_auditlog): Check for GPG_ERR_ASS_UNKNOWN_CMD.

trunk/tests/ChangeLog
trunk/tests/gpgsm/t-verify.c

index 259f5600136296a7f9e3296d436cfa0418e90baa..9e16ce2ede0f341ff4aa43410a5365a929d823b8 100644 (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.
index c6c5d90c926b9abe889160bdc087ebaf80fdda46..536ad462d1d619437102cfb05d290d14620f62df 100644 (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);