Merge pull request #1435 from AxisRay/fix-cmd-error

bugfix: hf mfu dump not working
This commit is contained in:
Iceman 2021-08-08 15:08:14 +02:00 committed by GitHub
commit 4c54d09894
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2148,7 +2148,7 @@ static int CmdHF14AMfUDump(const char *Cmd) {
ul_print_type(tagtype, 0);
PrintAndLogEx(SUCCESS, "Reading tag memory...");
uint8_t keytype = 0;
if (has_auth_key) {
if (has_auth_key || has_pwd) {
if (tagtype & UL_C)
keytype = 1; //UL_C auth
else