couple bugs in excludeList fixed..

This commit is contained in:
Conor Patrick
2018-05-24 23:13:47 -04:00
parent d9c5bf2ea1
commit 2b482f0c43
3 changed files with 14 additions and 9 deletions

4
ctap.c
View File

@@ -482,6 +482,10 @@ uint8_t ctap_make_credential(CborEncoder * encoder, uint8_t * request, int lengt
for (i = 0; i < MC.excludeListSize; i++)
{
ret = parse_credential_descriptor(&MC.excludeList, excl_cred);
if (ret == CTAP2_ERR_CBOR_UNEXPECTED_TYPE)
{
continue;
}
check_retr(ret);
if (ctap_authenticate_credential(&MC.rp, excl_cred))