mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
make style
This commit is contained in:
parent
cc3e2cc3a9
commit
3c51ee4547
1 changed files with 3 additions and 3 deletions
|
@ -696,15 +696,15 @@ static int CmdHF14ADesInfo(const char *Cmd) {
|
||||||
if (card.sak == 0x20) {
|
if (card.sak == 0x20) {
|
||||||
|
|
||||||
if (card.ats_len >= 5) {
|
if (card.ats_len >= 5) {
|
||||||
if (!memcmp(card.ats + 1, STANDALONE_DESFIRE, 4)) {
|
if (0 == memcmp(card.ats + 1, STANDALONE_DESFIRE, 4)) {
|
||||||
PrintAndLogEx(INFO, "Standalone DESFire");
|
PrintAndLogEx(INFO, "Standalone DESFire");
|
||||||
}
|
}
|
||||||
if (!memcmp(card.ats + 1, JCOP_DESFIRE, 4)) {
|
if (0 == memcmp(card.ats + 1, JCOP_DESFIRE, 4)) {
|
||||||
PrintAndLogEx(INFO, "JCOP DESFire");
|
PrintAndLogEx(INFO, "JCOP DESFire");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (card.ats_len == 4) {
|
if (card.ats_len == 4) {
|
||||||
if (!memcmp(card.ats + 1, JCOP3_DESFIRE, 4)) {
|
if (0 == memcmp(card.ats + 1, JCOP3_DESFIRE, 4)) {
|
||||||
PrintAndLogEx(INFO, "JCOP3 DESFire");
|
PrintAndLogEx(INFO, "JCOP3 DESFire");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue