[svn] gpgme - r1193 - in trunk/tests: . gpgsm
svn author marcus
cvs at cvs.gnupg.org
Sat Dec 2 23:47:03 CET 2006
Author: marcus
Date: 2006-12-02 23:47:02 +0100 (Sat, 02 Dec 2006)
New Revision: 1193
Modified:
trunk/tests/ChangeLog
trunk/tests/gpgsm/t-keylist.c
Log:
2006-12-02 Marcus Brinkmann <marcus at g10code.de>
* gpgsm/t-keylist.c (main): Skip unknown keys. Newer versions of
GPGSM import more keys than older ones.
Modified: trunk/tests/ChangeLog
===================================================================
--- trunk/tests/ChangeLog 2006-12-01 12:22:37 UTC (rev 1192)
+++ trunk/tests/ChangeLog 2006-12-02 22:47:02 UTC (rev 1193)
@@ -1,3 +1,8 @@
+2006-12-02 Marcus Brinkmann <marcus at g10code.de>
+
+ * gpgsm/t-keylist.c (main): Skip unknown keys. Newer versions of
+ GPGSM import more keys than older ones.
+
2005-12-06 Werner Koch <wk at g10code.com>
* gpg/t-keylist.c (main): Changed for that secondary keys now have
Modified: trunk/tests/gpgsm/t-keylist.c
===================================================================
--- trunk/tests/gpgsm/t-keylist.c 2006-12-01 12:22:37 UTC (rev 1192)
+++ trunk/tests/gpgsm/t-keylist.c 2006-12-02 22:47:02 UTC (rev 1193)
@@ -106,6 +106,15 @@
exit (1);
}
+ if (strcmp (key->subkeys->fpr, keys[i].fpr))
+ {
+ fprintf (stderr, "Warning: Skipping unknown key %s\n",
+ key->subkeys->fpr);
+ continue;
+ }
+ else
+ printf ("Checking key %s\n", key->subkeys->fpr);
+
/* Global key flags. */
if (key->revoked)
{
More information about the Gnupg-commits
mailing list