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

Nils Ollrogge notifications at github.com
Mon Jul 26 13:13:46 CEST 2021


@Ollrogge commented on this pull request.



> +    }
+}
+
+static inline bool is_init_type_pkt(const ctap_hid_pkt_t *pkt)
+{
+    return ((pkt->init.cmd & CTAP_HID_INIT_PACKET) == CTAP_HID_INIT_PACKET);
+}
+
+static void clear_ctap_buffer(void)
+{
+    memset(&g_ctap_buffer, 0, sizeof(g_ctap_buffer));
+}
+
+static inline bool should_cancel(void)
+{
+    return g_ctap_buffer.should_cancel;

Nope it is not. Good catch ! Wonder why the tests have ever caught this ...

-- 
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_r676510566
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210726/cf11a021/attachment-0001.htm>


More information about the notifications mailing list