X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/95d96ea38a0aff0f3cd9a7c24b760f39071043b8..33db73516dd983734e6aba24ff1e861b6af5c7e3:/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)";