fixed resuming the PIN

initialization of the boxing commands in perform_pace always destroyed
the established security context.
This commit is contained in:
Frank Morgner
2014-02-19 01:05:01 +01:00
parent 68d8a9cf64
commit 6b7d42000b
5 changed files with 18 additions and 13 deletions

View File

@@ -1206,10 +1206,6 @@ int perform_pace(sc_card_t *card,
}
}
#ifdef DISABLE_GLOBAL_BOXING_INITIALIZATION
sc_detect_boxing_cmds(card->reader);
#endif
if (card->reader->capabilities & SC_READER_CAP_PACE_GENERIC
&& card->reader->ops->perform_pace) {
r = card->reader->ops->perform_pace(card->reader, &pace_input, pace_output);