Skip to content

Commit

Permalink
Update card-muscle.c
Browse files Browse the repository at this point in the history
re-enable opensc.conf flexibility again
  • Loading branch information
Hubitronic committed Jun 18, 2015
1 parent b48fa70 commit 5898eab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libopensc/card-muscle.c
Expand Up @@ -476,8 +476,7 @@ static int muscle_init(sc_card_t *card)
card->caps |= SC_CARD_CAP_RNG;

/* Card type detection */
if (SC_SUCCESS != _sc_match_atr(card, muscle_atrs, &card->type))
SC_FUNC_RETURN(card->ctx, SC_LOG_DEBUG_NORMAL, SC_ERROR_INVALID_CARD);
_sc_match_atr(card, muscle_atrs, &card->type);

if(card->type == SC_CARD_TYPE_MUSCLE_ETOKEN_72K) {
card->caps |= SC_CARD_CAP_APDU_EXT;
Expand Down

0 comments on commit 5898eab

Please sign in to comment.