mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
use searchFile to find dictionaries
This commit is contained in:
parent
34a0fdb9d6
commit
8c26e07ceb
2 changed files with 2 additions and 1 deletions
|
@ -523,7 +523,7 @@ int loadFileDICTIONARY(const char *preferredName, void *data, size_t *datalen, u
|
|||
|
||||
|
||||
if (data == NULL) return 1;
|
||||
char *fileName = filenamemcopy(preferredName, ".dic");
|
||||
char *fileName = searchFile(DICTIONARIES_SUBDIR, ".dic", preferredName);
|
||||
if (fileName == NULL) return 1;
|
||||
|
||||
// t5577 == 4bytes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue