mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 22:33:48 -07:00
MacOS compilation fix
So for macOS, "NONE" isn't an option for PrintAndLogEx. Info it is I guess. Padding fix applied by removing the 4 chars extra. Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
This commit is contained in:
parent
ae0efe32f9
commit
5243377d57
1 changed files with 2 additions and 2 deletions
|
@ -3742,8 +3742,8 @@ static int CmdCryptography(const char *Cmd) {
|
|||
des_encrypt_cbc(dato, dati, datilen, key, iv);
|
||||
char pad[250];
|
||||
memset(pad, ' ', 4 + 8 + (datilen - 8) * 3);
|
||||
pad[4 + 8 + (datilen - 8) * 3] = 0; // Make a padding to insert FMCOS macing algorithm guide
|
||||
PrintAndLogEx(NONE, "%sVV VV VV VV FMCOS MAC", pad);
|
||||
pad[8 + (datilen - 8) * 3] = 0; // Make a padding to insert FMCOS macing algorithm guide
|
||||
PrintAndLogEx(INFO, "%sVV VV VV VV FMCOS MAC", pad);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue