ias/ecc: fixed card detection

regression of 439a95f2d
This commit is contained in:
Frank Morgner 2018-08-24 13:49:49 +02:00
parent 5daec17e32
commit 94f9fdf145
1 changed files with 1 additions and 3 deletions

View File

@ -623,10 +623,8 @@ iasecc_init(struct sc_card *card)
card->sm_ctx.ops.update_binary = _iasecc_sm_update_binary;
#endif
if (!rv) {
if (!rv)
sc_log(ctx, "EF.ATR(aid:'%s')", sc_dump_hex(card->ef_atr->aid.value, card->ef_atr->aid.len));
rv = SC_ERROR_INVALID_CARD;
}
LOG_FUNC_RETURN(ctx, rv);
}