add tearoff support to hf 14a apdu
This commit is contained in:
1 parent
7b65dfb3b5
commit
716d5c639b
1 file changed
+6
@@ -3474,6 +3474,12 @@ int iso14_apdu(uint8_t *cmd, uint16_t cmd_len, bool send_chaining, void *data, u
|
||||
|
||||
ReaderTransmit(real_cmd, cmd_len + 3, NULL);
|
||||
|
||||
// tearoff occurred
|
||||
if (tearoff_hook() == PM3_ETEAROFF) {
|
||||
BigBuf_free();
|
||||
return -1;
|
||||
}
|
||||
|
||||
size_t len = ReaderReceive(data, data_len, parity_array);
|
||||
uint8_t *data_bytes = (uint8_t *) data;
|
||||
|
||||
|
||||
Reference in new issue
Block a user