mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-19 11:33:51 +08:00
refactoring
This commit is contained in:
parent
5efc2eced6
commit
a9be05dbf7
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
|||
".name": "RS256"
|
||||
}
|
||||
],
|
||||
"options": {
|
||||
"MakeCredentialOptions": {
|
||||
"uv": false,
|
||||
"rk": false
|
||||
},
|
||||
|
|
|
@ -344,7 +344,7 @@ int FIDO2CreateMakeCredentionalReq(json_t *root, uint8_t *data, size_t maxdatale
|
|||
// options
|
||||
res = cbor_encode_uint(&map, 7);
|
||||
fido_check_if(res) {
|
||||
res = CBOREncodeElm(root, "options", &map);
|
||||
res = CBOREncodeElm(root, "MakeCredentialOptions", &map);
|
||||
fido_check(res);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue