Update card-muscle.c
re-enable opensc.conf flexibility again
This commit is contained in:
parent
b48fa70308
commit
5898eab373
|
@ -476,8 +476,7 @@ static int muscle_init(sc_card_t *card)
|
||||||
card->caps |= SC_CARD_CAP_RNG;
|
card->caps |= SC_CARD_CAP_RNG;
|
||||||
|
|
||||||
/* Card type detection */
|
/* Card type detection */
|
||||||
if (SC_SUCCESS != _sc_match_atr(card, muscle_atrs, &card->type))
|
_sc_match_atr(card, muscle_atrs, &card->type);
|
||||||
SC_FUNC_RETURN(card->ctx, SC_LOG_DEBUG_NORMAL, SC_ERROR_INVALID_CARD);
|
|
||||||
|
|
||||||
if(card->type == SC_CARD_TYPE_MUSCLE_ETOKEN_72K) {
|
if(card->type == SC_CARD_TYPE_MUSCLE_ETOKEN_72K) {
|
||||||
card->caps |= SC_CARD_CAP_APDU_EXT;
|
card->caps |= SC_CARD_CAP_APDU_EXT;
|
||||||
|
|
Loading…
Reference in New Issue