fixed resuming the PIN
initialization of the boxing commands in perform_pace always destroyed the established security context.
This commit is contained in:
@@ -370,7 +370,9 @@ main (int argc, char **argv)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
#ifndef DISABLE_GLOBAL_BOXING_INITIALIZATION
|
||||
#ifdef DISABLE_GLOBAL_BOXING_INITIALIZATION
|
||||
sc_detect_boxing_cmds(card->reader);
|
||||
#else
|
||||
sc_initialize_boxing_cmds(ctx);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user