and done
This commit is contained in:
1 parent
1a4437550b
commit
83943aafc8
21 files changed
+123
-119
No files matched your search
@@ -296,7 +296,7 @@ const APDUCode_t *GetAPDUCode(uint8_t sw1, uint8_t sw2) {
|
||||
int mineq = ARRAYLEN(APDUCodeTable);
|
||||
int mineqindx = 0;
|
||||
|
||||
sprintf(buf, "%02X%02X", sw1, sw2);
|
||||
snprintf(buf, sizeof(buf), "%02X%02X", sw1, sw2);
|
||||
|
||||
for (int i = 0; i < ARRAYLEN(APDUCodeTable); i++) {
|
||||
int res = CodeCmp(APDUCodeTable[i].ID, buf);
|
||||
|
||||
Reference in new issue
Block a user