make style

This commit is contained in:
iceman1001 2019-11-08 12:00:21 +01:00
commit 182f239d21
7 changed files with 82 additions and 82 deletions

View file

@ -2176,7 +2176,7 @@ void Mifare_DES_Auth2(uint32_t arg0, uint8_t *datain) {
// //
// Tear-off attack against MFU. // Tear-off attack against MFU.
// - Mobius et al // - Moebius et al
void MifareU_Otp_Tearoff() { void MifareU_Otp_Tearoff() {
// should the // should the

View file

@ -74,7 +74,7 @@ int AIDSearchFree(json_t *root) {
return closeAIDFile(root); return closeAIDFile(root);
} }
const char * jsonStrGet(json_t *data, char *name) { const char *jsonStrGet(json_t *data, char *name) {
json_t *jstr; json_t *jstr;
jstr = json_object_get(data, name); jstr = json_object_get(data, name);

View file

@ -2753,9 +2753,9 @@ static int CmdHF14AMfUPwdGen(const char *Cmd) {
// //
// MFU TearOff against OTP // MFU TearOff against OTP
// Mobeius et al // Moebius et al
// //
static int CmdHF14AMfuOtpTearoff(const char *Cmd){ static int CmdHF14AMfuOtpTearoff(const char *Cmd) {
uint8_t cmdp = 0; uint8_t cmdp = 0;
bool errors = 0; bool errors = 0;
uint32_t len = strtol(Cmd, NULL, 0); uint32_t len = strtol(Cmd, NULL, 0);

View file

@ -121,7 +121,7 @@ static int CmdJablotronDemod(const char *Cmd) {
uint8_t chksum = raw2 & 0xFF; uint8_t chksum = raw2 & 0xFF;
bool isok = (chksum == jablontron_chksum(DemodBuffer)); bool isok = (chksum == jablontron_chksum(DemodBuffer));
PrintAndLogEx( isok ? SUCCESS : INFO, PrintAndLogEx(isok ? SUCCESS : INFO,
"Checksum: %02X [ %s]", "Checksum: %02X [ %s]",
chksum, chksum,
isok ? _GREEN_("OK") : _RED_("Fail") isok ? _GREEN_("OK") : _RED_("Fail")