2006-12-02 Marcus Brinkmann <marcus@g10code.de>

* gpgsm/t-keylist.c (main): Skip unknown keys.  Newer versions of
	GPGSM import more keys than older ones.
This commit is contained in:
Marcus Brinkmann 2006-12-02 22:47:02 +00:00
parent e9f92dd049
commit 68fc3075c3
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-12-02 Marcus Brinkmann <marcus@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@g10code.com>
* gpg/t-keylist.c (main): Changed for that secondary keys now have

View File

@ -106,6 +106,15 @@ main (int argc, char **argv)
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)
{