From 0a6ffc81b6e50f0263d4874a38094f2a92ee0a4e Mon Sep 17 00:00:00 2001 From: Leif Brockman Date: Wed, 4 Dec 2024 08:43:54 -0700 Subject: [PATCH] remove double reference --- crates/ic-ingress-validator-util/src/webauthn.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ic-ingress-validator-util/src/webauthn.rs b/crates/ic-ingress-validator-util/src/webauthn.rs index aec2d4f..345807b 100644 --- a/crates/ic-ingress-validator-util/src/webauthn.rs +++ b/crates/ic-ingress-validator-util/src/webauthn.rs @@ -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))?;