Fix calling large blobs.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2022-12-14 23:51:03 +01:00
parent 641c2fb880
commit 9bcfacfe08
No known key found for this signature in database
GPG Key ID: C0095B7870A4CCD3

View File

@ -70,7 +70,7 @@ int cbor_parse(uint8_t cmd, const uint8_t *data, size_t len) {
else if (data[0] == CTAP_CONFIG)
return cbor_config(data + 1, len - 1);
else if (data[0] == CTAP_LARGE_BLOBS)
return cbor_config(data + 1, len - 1);
return cbor_large_blobs(data + 1, len - 1);
}
else if (cmd == CTAP_VENDOR_CBOR) {
return cbor_vendor(data, len);