aboutsummaryrefslogtreecommitdiff
path: root/src/zip/encryption/weak.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/zip/encryption/weak.rs')
-rw-r--r--src/zip/encryption/weak.rs1
1 files changed, 0 insertions, 1 deletions
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 {
55 self.key2 = crc32((self.key1 >> 24) as u8, self.key2); 55 self.key2 = crc32((self.key1 >> 24) as u8, self.key2);
56 } 56 }
57 57
58 #[allow(dead_code)]
59 pub fn encode_bytes(&mut self, byte: u8) -> u8 { 58 pub fn encode_bytes(&mut self, byte: u8) -> u8 {
60 let key = self.key2 | 2; 59 let key = self.key2 | 2;
61 self.update(byte); 60 self.update(byte);