fix fido2 response structure

This commit is contained in:
merlokk 2018-11-17 01:40:27 +02:00
commit 8201526f6e
2 changed files with 7 additions and 2 deletions

View file

@ -190,7 +190,7 @@ int TinyCborInit(uint8_t *data, size_t length, CborValue *cb) {
int TinyCborPrintFIDOPackage(uint8_t *data, size_t length) {
CborValue cb;
int res;
res = TinyCborInit(&data[1], length - 1, &cb);
res = TinyCborInit(data, length, &cb);
if (res)
return res;