fix fido2 response structure
This commit is contained in:
1 parent
563086c935
commit
8201526f6e
2 files changed
+7
-2
No files matched your search
+6
-1
@@ -140,10 +140,15 @@ int CmdHFFidoInfo(const char *cmd) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
if(buf[0]) {
|
||||
PrintAndLog("FIDO2 ger version error: %d", buf[0]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
PrintAndLog("FIDO2 version: (%d)", len);
|
||||
dump_buffer((const unsigned char *)buf, len, NULL, 0);
|
||||
TinyCborPrintFIDOPackage(buf, len);
|
||||
TinyCborPrintFIDOPackage(&buf[1], len - 1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user