diff --git a/client/src/cmdhflist.c b/client/src/cmdhflist.c index 360ed50b1..6e292ad6f 100644 --- a/client/src/cmdhflist.c +++ b/client/src/cmdhflist.c @@ -311,7 +311,7 @@ int applyIso14443a(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) { case MIFARE_ULNANO_WRITESIG: snprintf(exp, size, "WRITE SIG"); break; - case MIFARE_ULNANO_LOCKSIF: { + case MIFARE_ULNANO_LOCKSIG: { if (cmd[1] == 0) snprintf(exp, size, "UNLOCK SIG"); else if (cmd[1] == 2) diff --git a/include/protocols.h b/include/protocols.h index dafce0024..f5848eca7 100644 --- a/include/protocols.h +++ b/include/protocols.h @@ -188,7 +188,7 @@ ISO 7816-4 Basic interindustry commands. For command APDU's. // New Mifare UL Nano commands. Ref:: (https://www.nxp.com/docs/en/data-sheet/MF0UN_H_00.pdf) #define MIFARE_ULNANO_WRITESIG 0xA9 -#define MIFARE_ULNANO_LOCKSIF 0xAC +#define MIFARE_ULNANO_LOCKSIG 0xAC // mifare 4bit card answers #define CARD_ACK 0x0A // 1010 - ACK