Fix old UID display on hf mf csetuid

This commit is contained in:
Ave committed 2020-11-15 20:14:08 +03:00
1 parent 596a97a886
commit 7c5e3a29de
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -859,7 +859,7 @@ int mfCSetUID(uint8_t *uid, uint8_t *atqa, uint8_t *sak, uint8_t *oldUID, uint8_
PrintAndLogEx(SUCCESS, "new block 0: %s", sprint_hex(block0, 16));
if (wipecard) params |= MAGIC_WIPE;
if (oldUID == NULL) params |= MAGIC_UID;
if (oldUID != NULL) params |= MAGIC_UID;
return mfCSetBlock(0, block0, oldUID, params);
}