mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -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) {
|
||||
switch(keytype) {
|
||||
switch (keytype) {
|
||||
case 00:
|
||||
PrintAndLogEx(SUCCESS, "Key: 2TDEA");
|
||||
break;
|
||||
|
|
|
@ -267,7 +267,7 @@ bool PrintChannelModeWarning(uint8_t cmd, DesfireSecureChannel secureChannel, De
|
|||
// full compare
|
||||
if (AllowedChannelModes[i].secureChannel == secureChannel &&
|
||||
(AllowedChannelModes[i].cmdSet == cmdSet || (AllowedChannelModes[i].cmdSet == DCCNative && cmdSet == DCCNativeISO)) &&
|
||||
AllowedChannelModes[i].commMode == commMode){
|
||||
AllowedChannelModes[i].commMode == commMode) {
|
||||
|
||||
found = true;
|
||||
break;
|
||||
|
@ -277,7 +277,7 @@ bool PrintChannelModeWarning(uint8_t cmd, DesfireSecureChannel secureChannel, De
|
|||
if (AllowedChannelModes[i].secureChannel == secureChannel &&
|
||||
AllowedChannelModes[i].secureChannel == DACEV1 &&
|
||||
(AllowedChannelModes[i].cmdSet == cmdSet || (AllowedChannelModes[i].cmdSet == DCCNative && cmdSet == DCCNativeISO)) &&
|
||||
(commMode == DCMPlain || commMode == DCMMACed)){
|
||||
(commMode == DCMPlain || commMode == DCMMACed)) {
|
||||
|
||||
found = true;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue