Skip to content

Commit

Permalink
remove double reference
Browse files Browse the repository at this point in the history
  • Loading branch information
MrWoo034 committed Dec 4, 2024
1 parent afdc88b commit 0a6ffc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ic-ingress-validator-util/src/webauthn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub(crate) fn validate_webauthn_sig(
signable: &impl Signable,
public_key: &UserPublicKey,
) -> Result<(), String> {
let basic_sig = basic_sig_from_webauthn_sig(&webauthn_sig, public_key.algorithm_id)?;
let basic_sig = basic_sig_from_webauthn_sig(webauthn_sig, public_key.algorithm_id)?;

let envelope = WebAuthnEnvelope::try_from(webauthn_sig)
.map_err(|err| format!("WebAuthn envelope creation failed: {}", err))?;
Expand Down

0 comments on commit 0a6ffc8

Please sign in to comment.