From 866516ac50851e2827e6aff0a98c444268c566ff Mon Sep 17 00:00:00 2001 From: igorechek06 Date: Sat, 10 Aug 2024 17:18:03 +0900 Subject: Add overlap checking --- src/zip/encryption/weak.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/zip/encryption/weak.rs') diff --git a/src/zip/encryption/weak.rs b/src/zip/encryption/weak.rs index ebddb2d..3c35776 100644 --- a/src/zip/encryption/weak.rs +++ b/src/zip/encryption/weak.rs @@ -55,7 +55,6 @@ impl Keys { self.key2 = crc32((self.key1 >> 24) as u8, self.key2); } - #[allow(dead_code)] pub fn encode_bytes(&mut self, byte: u8) -> u8 { let key = self.key2 | 2; self.update(byte); -- cgit v1.2.3