mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 06:13:51 -07:00
style
This commit is contained in:
parent
cc3883a770
commit
e4bdecf30e
2 changed files with 31 additions and 31 deletions
|
@ -964,7 +964,7 @@ int DesfireChangeKeySettings(DesfireContext *dctx, uint8_t *data, size_t len) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void PrintKeyType(uint8_t keytype) {
|
static void PrintKeyType(uint8_t keytype) {
|
||||||
switch(keytype) {
|
switch (keytype) {
|
||||||
case 00:
|
case 00:
|
||||||
PrintAndLogEx(SUCCESS, "Key: 2TDEA");
|
PrintAndLogEx(SUCCESS, "Key: 2TDEA");
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -267,7 +267,7 @@ bool PrintChannelModeWarning(uint8_t cmd, DesfireSecureChannel secureChannel, De
|
||||||
// full compare
|
// full compare
|
||||||
if (AllowedChannelModes[i].secureChannel == secureChannel &&
|
if (AllowedChannelModes[i].secureChannel == secureChannel &&
|
||||||
(AllowedChannelModes[i].cmdSet == cmdSet || (AllowedChannelModes[i].cmdSet == DCCNative && cmdSet == DCCNativeISO)) &&
|
(AllowedChannelModes[i].cmdSet == cmdSet || (AllowedChannelModes[i].cmdSet == DCCNative && cmdSet == DCCNativeISO)) &&
|
||||||
AllowedChannelModes[i].commMode == commMode){
|
AllowedChannelModes[i].commMode == commMode) {
|
||||||
|
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
|
@ -277,7 +277,7 @@ bool PrintChannelModeWarning(uint8_t cmd, DesfireSecureChannel secureChannel, De
|
||||||
if (AllowedChannelModes[i].secureChannel == secureChannel &&
|
if (AllowedChannelModes[i].secureChannel == secureChannel &&
|
||||||
AllowedChannelModes[i].secureChannel == DACEV1 &&
|
AllowedChannelModes[i].secureChannel == DACEV1 &&
|
||||||
(AllowedChannelModes[i].cmdSet == cmdSet || (AllowedChannelModes[i].cmdSet == DCCNative && cmdSet == DCCNativeISO)) &&
|
(AllowedChannelModes[i].cmdSet == cmdSet || (AllowedChannelModes[i].cmdSet == DCCNative && cmdSet == DCCNativeISO)) &&
|
||||||
(commMode == DCMPlain || commMode == DCMMACed)){
|
(commMode == DCMPlain || commMode == DCMMACed)) {
|
||||||
|
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue