From 7cc47eebba30df6338ea3d58d3582f6ed37fad70 Mon Sep 17 00:00:00 2001 From: Markus Walter Date: Fri, 2 Sep 2022 10:36:34 +0200 Subject: [PATCH] Accept eml and json files for `hf 15 eload`. --- client/src/cmdhf15.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdhf15.c b/client/src/cmdhf15.c index 0d25e38f91..fb80c57abb 100644 --- a/client/src/cmdhf15.c +++ b/client/src/cmdhf15.c @@ -1043,7 +1043,7 @@ static int CmdHF15ELoad(const char *Cmd) { uint8_t *data = NULL; size_t bytes_read = 0; - int res = loadFile_safe(filename, ".bin", (void **)&data, &bytes_read); + int res = pm3_load_dump(filename, (void **)&data, &bytes_read, CARD_MEMORY_SIZE); if (res != PM3_SUCCESS) { return res; }