Merge pull request #79 from merlokk/sc_emv_exec_exit
change sc apdu to be compatible with 14a apdu
This commit is contained in:
@@ -533,7 +533,7 @@ int ExchangeAPDUSC(uint8_t *datain, int datainlen, bool activateCard, bool leave
|
|||||||
int len = smart_responseEx(dataout, true);
|
int len = smart_responseEx(dataout, true);
|
||||||
|
|
||||||
if ( len < 0 ) {
|
if ( len < 0 ) {
|
||||||
return 2;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// retry
|
// retry
|
||||||
|
|||||||
Reference in New Issue
Block a user