mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
FIX: Coverity, logical vs bitwise operator, remove the extra '&' for it to become bitwise.
This commit is contained in:
parent
95d96ea38a
commit
33db73516d
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ void GetKeySettings( uint8_t *aid){
|
||||||
PrintAndLog(" Can't read Application Master key settings");
|
PrintAndLog(" Can't read Application Master key settings");
|
||||||
} else {
|
} else {
|
||||||
// Access rights.
|
// Access rights.
|
||||||
uint8_t rights = (resp.d.asBytes[3] >> 4 && 0xff);
|
uint8_t rights = (resp.d.asBytes[3] >> 4 & 0xff);
|
||||||
switch (rights){
|
switch (rights){
|
||||||
case 0x00:
|
case 0x00:
|
||||||
str = "AMK authentication is necessary to change any key (default)";
|
str = "AMK authentication is necessary to change any key (default)";
|
||||||
|
|
Loading…
Reference in a new issue