This commit is contained in:
iceman1001 2020-11-01 01:42:23 +01:00
parent 5f411bdc3e
commit 1902c36394

View file

@ -2759,7 +2759,7 @@ b5,b6 = 00 - DESELECT
*/
int iso14_apdu(uint8_t *cmd, uint16_t cmd_len, bool send_chaining, void *data, uint8_t *res) {
uint8_t parity[MAX_PARITY_SIZE] = {0x00};
uint8_t real_cmd[cmd_len + 4] = {0x00};
uint8_t real_cmd[cmd_len + 4];
if (cmd_len) {
// ISO 14443 APDU frame: PCB [CID] [NAD] APDU CRC PCB=0x02