diff --git a/client/cmdhffido.c b/client/cmdhffido.c index a7ce63c98..fbc91e814 100644 --- a/client/cmdhffido.c +++ b/client/cmdhffido.c @@ -801,7 +801,7 @@ static int CmdHFFido2GetAssertion(const char *cmd) { SetAPDULogging(APDULogging); - int res = GetExistsFileNameJson("fido", "fido2", fname); + int res = GetExistsFileNameJson("fido", cjsonname, fname); if (res) { PrintAndLogEx(ERR, "ERROR: Can't found the json file."); return res;