• Jun Choi's avatar
    Change none attestation statement DCHECK condition · 70d6dbf2
    Jun Choi authored
    For "FIDO-U2F" attestation statement format, attestation credential data
    within authenticator data is always present. However, for attestation
    data received from CTAP authenticators, this may not be the case as the
    WebAuthN spec defines attested credential data as optional. Change the
    DCHECK conditions for none attestation statement format to execute only
    when attested credential data is present.
    
    Bug: 825455
    Change-Id: Ie63f051846b67c9deaa1b6bb64de76efa49a7aa1
    Reviewed-on: https://chromium-review.googlesource.com/979217Reviewed-by: default avatarJan Wilken Dörrie <jdoerrie@chromium.org>
    Commit-Queue: Jun Choi <hongjunchoi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#545785}
    70d6dbf2
authenticator_data.h 2.56 KB