diff options
| author | Igor Tolmachev <me@igorek.dev> | 2024-07-16 01:59:53 +0900 |
|---|---|---|
| committer | Igor Tolmachev <me@igorek.dev> | 2024-07-16 01:59:53 +0900 |
| commit | a83767f9fbd51df654901b52bdba7838f6a10bf9 (patch) | |
| tree | e9e2fcfb9975a2c2dd6e65c65fd736a035ea6cae /src/utils | |
| parent | 2fdbec0525bc2a0839ea649106886cb157507a38 (diff) | |
| download | archivator-a83767f9fbd51df654901b52bdba7838f6a10bf9.tar.gz archivator-a83767f9fbd51df654901b52bdba7838f6a10bf9.zip | |
Add traditional PKWARE decryption.
- Compression and encryption may not work together
- Password check is not yet implemented
- Unoptimized crc32 function
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/cursor.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/utils/cursor.rs b/src/utils/cursor.rs index 0c4b77e..91d44f8 100644 --- a/src/utils/cursor.rs +++ b/src/utils/cursor.rs | |||
| @@ -34,7 +34,6 @@ impl<Io: Write> Write for IoCursor<Io> { | |||
| 34 | Ok(bytes) | 34 | Ok(bytes) |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | #[inline] | ||
| 38 | fn flush(&mut self) -> Result<()> { | 37 | fn flush(&mut self) -> Result<()> { |
| 39 | self.io.flush() | 38 | self.io.flush() |
| 40 | } | 39 | } |
