validate saltAuth

This commit is contained in:
Conor Patrick
2019-03-20 18:10:52 -04:00
parent e8d5bc5829
commit bb9b2ea9d4
3 changed files with 35 additions and 5 deletions

View File

@@ -606,7 +606,7 @@ uint8_t ctap_parse_hmac_secret(CborValue * val, CTAP_hmac_secret * hs)
{
return CTAP1_ERR_INVALID_LENGTH;
}
hs->salt_len = salt_len;
hs->saltLen = salt_len;
parsed_count++;
break;
case EXT_HMAC_SECRET_SALT_AUTH: