Skip to content

Commit

Permalink
remove stray error
Browse files Browse the repository at this point in the history
  • Loading branch information
micolous committed Oct 25, 2023
1 parent ed89067 commit 54b5de7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion webauthn-authenticator-rs/src/nfc/atr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ impl TryFrom<&[u8]> for Atr {
let mut extended_lc = None;
let mut card_issuers_data = None;
if i + t1_len > atr.len() {
error!(?i, ?t1_len, "atr.len = {}", atr.len());
return Err(WebauthnCError::MessageTooShort);
}
let t1 = &atr[i..i + t1_len];
Expand Down

0 comments on commit 54b5de7

Please sign in to comment.