diff options
Diffstat (limited to 'tools/gpg-card.c')
-rw-r--r-- | tools/gpg-card.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/gpg-card.c b/tools/gpg-card.c index ba48905e2..7c30ad3aa 100644 --- a/tools/gpg-card.c +++ b/tools/gpg-card.c @@ -841,9 +841,7 @@ list_openpgp (card_info_t info, estream_t fp, int no_key_lookup) { NULL, NULL } }; - if (!info->serialno - || strncmp (info->serialno, "D27600012401", 12) - || strlen (info->serialno) != 32 ) + if (info->apptype != APP_TYPE_OPENPGP) { tty_fprintf (fp, "invalid OpenPGP card\n"); return; |