chore: Fix an error when decoding AES header
This commit is contained in:
parent
32f946e788
commit
290fd97013
1 changed files with 1 additions and 0 deletions
|
@ -1280,6 +1280,7 @@ pub(crate) fn parse_single_extra_field<R: Read>(
|
||||||
_ => return Err(ZipError::InvalidArchive("Invalid AES encryption strength")),
|
_ => return Err(ZipError::InvalidArchive("Invalid AES encryption strength")),
|
||||||
};
|
};
|
||||||
file.compression_method = compression_method;
|
file.compression_method = compression_method;
|
||||||
|
len_left -= 7;
|
||||||
}
|
}
|
||||||
0x5455 => {
|
0x5455 => {
|
||||||
// extended timestamp
|
// extended timestamp
|
||||||
|
|
Loading…
Add table
Reference in a new issue