[riot-notifications] [RIOT-OS/RIOT] FIDO2 support in RIOT (#16489)

Nils Ollrogge notifications at github.com
Mon May 31 16:05:40 CEST 2021


@Ollrogge commented on this pull request.



> +            DEBUG("ctap_cbor: unknown GetAssertion key: %d \n", key);
+            break;
+        }
+
+        if (ret != CTAP2_OK) {
+            return ret;
+        }
+
+        ret = cbor_value_advance(&map);
+        if (ret != CborNoError) {
+            return CTAP2_ERR_CBOR_PARSING;
+        }
+    }
+
+    /* rp_id and client_data_hash are required */
+    if (required_parsed != 2) {

The switch statement is inside a for loop. Therefore `required_parsed` will increment to 2

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16489#discussion_r642514141
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210531/173198af/attachment.htm>


More information about the notifications mailing list