muscle: change TyfoneAT historical bytes to 'Tyfone 242R2'

Fixes #467
This commit is contained in:
drew thomas 2015-05-15 12:18:39 -07:00 committed by Viktor Tarasov
parent a09ca246a7
commit 5be35fb3f4
2 changed files with 5 additions and 5 deletions

View File

@ -43,8 +43,8 @@ static struct sc_card_driver muscle_drv = {
};
static struct sc_atr_table muscle_atrs[] = {
/* Tyfone JCOP 2.4.2 cards */
{ "3b:68:00:00:4a:43:4f:50:76:32:34:31", NULL, NULL, SC_CARD_TYPE_MUSCLE_JCOP242_NO_APDU_EXT, 0, NULL },
/* Tyfone JCOP 242R2 cards */
{ "3b:6d:00:00:ff:54:79:66:6f:6e:65:20:32:34:32:52:32", NULL, NULL, SC_CARD_TYPE_MUSCLE_JCOP242R2_NO_EXT_APDU, 0, NULL },
/* Aladdin eToken PRO USB 72K Java */
{ "3b:d5:18:00:81:31:3a:7d:80:73:c8:21:10:30", NULL, NULL, SC_CARD_TYPE_MUSCLE_ETOKEN_72K, 0, NULL },
/* JCOP31 v2.4.1 contact interface */
@ -485,8 +485,8 @@ static int muscle_init(sc_card_t *card)
if(card->type == SC_CARD_TYPE_MUSCLE_JCOP241) {
card->caps |= SC_CARD_CAP_APDU_EXT;
}
if(card->type == SC_CARD_TYPE_MUSCLE_JCOP242_NO_APDU_EXT) {
/* JCOP v2.4.2 card that doesn't support extended APDUs */
if(card->type == SC_CARD_TYPE_MUSCLE_JCOP242R2_NO_EXT_APDU) {
/* Tyfone JCOP v242R2 card that doesn't support extended APDUs */
}

View File

@ -139,7 +139,7 @@ enum {
SC_CARD_TYPE_MUSCLE_V2,
SC_CARD_TYPE_MUSCLE_ETOKEN_72K,
SC_CARD_TYPE_MUSCLE_JCOP241,
SC_CARD_TYPE_MUSCLE_JCOP242_NO_APDU_EXT,
SC_CARD_TYPE_MUSCLE_JCOP242R2_NO_EXT_APDU,
/* ACOS5 driver */
SC_CARD_TYPE_ACOS5_BASE = 16000,