Fix path unifying of StarCOS 3.5 cards

This commit is contained in:
dojo 2019-12-04 12:57:15 +01:00 committed by Frank Morgner
parent 9f2c112ecb
commit a450b3427e
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{