From f36b8f22d91bc109c3ad549f34f715a703797f8d Mon Sep 17 00:00:00 2001 From: futreall <86553580+futreall@users.noreply.github.com> Date: Wed, 7 May 2025 12:57:11 +0300 Subject: [PATCH] fix duplicate poly1305.rs --- chacha20_poly1305/src/poly1305.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chacha20_poly1305/src/poly1305.rs b/chacha20_poly1305/src/poly1305.rs index 4aef1343c..9e47602e0 100644 --- a/chacha20_poly1305/src/poly1305.rs +++ b/chacha20_poly1305/src/poly1305.rs @@ -55,7 +55,7 @@ impl Poly1305 { // Process previous leftovers if the message is long enough to fill the leftovers buffer. If // the message is too short then it will just be added to the leftovers at the end. Now if there // are no leftovers, but the message can fill the buffer, it will process that buffer and - // and process the rest of the message later on. + // process the rest of the message later on. let fill = if self.leftovers_len + message.len() >= 16 { 16 - self.leftovers_len } else { 0 };