Fix path unifying of StarCOS 3.5 cards
This commit is contained in:
parent
9f2c112ecb
commit
a450b3427e
@ -884,7 +884,7 @@ static int starcos_select_file(sc_card_t *card,
|
||||
SC_FUNC_RETURN(card->ctx, SC_LOG_DEBUG_VERBOSE, SC_ERROR_INVALID_ARGUMENTS);
|
||||
|
||||
if (card->type != SC_CARD_TYPE_STARCOS_V3_4
|
||||
|| card->type == SC_CARD_TYPE_STARCOS_V3_5) {
|
||||
&& card->type != SC_CARD_TYPE_STARCOS_V3_5) {
|
||||
/* unify path (the first FID should be MF) */
|
||||
if (path[0] != 0x3f || path[1] != 0x00)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user