X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/28415b5d902e391b5bbfd615b3a42d8cffbb0ce3..c6e0a2ebebb186849764b5a227662c515cfd7c6b:/client/cmdhfmfdes.c?ds=sidebyside diff --git a/client/cmdhfmfdes.c b/client/cmdhfmfdes.c index b8db1cab..9ab5a4af 100644 --- a/client/cmdhfmfdes.c +++ b/client/cmdhfmfdes.c @@ -352,7 +352,7 @@ void GetKeySettings( uint8_t *aid){ PrintAndLog(" Can't read Application Master key settings"); } else { // Access rights. - uint8_t rights = (resp.d.asBytes[3] >> 4 && 0xff); + uint8_t rights = (resp.d.asBytes[3] >> 4 & 0xff); switch (rights){ case 0x00: str = "AMK authentication is necessary to change any key (default)";