Merge pull request #669 from bkerler/authtest
Fix bug for file id handling in hf mf des enum :)
This commit is contained in:
@@ -1434,7 +1434,7 @@ static int CmdHF14ADesEnumApplications(const char *Cmd) {
|
|||||||
|
|
||||||
uint8_t filesettings[20] = {0};
|
uint8_t filesettings[20] = {0};
|
||||||
int fileset_len = 0;
|
int fileset_len = 0;
|
||||||
int res = get_desfire_filesettings(j, filesettings, &fileset_len);
|
int res = get_desfire_filesettings(file_ids[j], filesettings, &fileset_len);
|
||||||
int maclen = 0; // To be implemented
|
int maclen = 0; // To be implemented
|
||||||
if (res == PM3_SUCCESS) {
|
if (res == PM3_SUCCESS) {
|
||||||
if (DecodeFileSettings(filesettings, fileset_len, maclen) != PM3_SUCCESS) {
|
if (DecodeFileSettings(filesettings, fileset_len, maclen) != PM3_SUCCESS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user