diff --git a/digest/src/mac.rs b/digest/src/mac.rs index df1d0c2b1..ef6b555ed 100644 --- a/digest/src/mac.rs +++ b/digest/src/mac.rs @@ -101,7 +101,7 @@ impl Mac for T { if n != Self::OutputSize::USIZE { return Err(MacError); } - let choice = self.finalize_fixed().ct_eq(&tag); + let choice = self.finalize_fixed().ct_eq(tag); if choice.unwrap_u8() == 1 { Ok(()) } else {