minor update

This commit is contained in:
Adam Hathcock
2026-01-12 10:23:22 +00:00
parent c64cc98ca7
commit 0b6831b3f2

View File

@@ -157,8 +157,8 @@ internal class ZipHeaderFactory
var salt = new byte[WinzipAesEncryptionData.KeyLengthInBytes(keySize) / 2];
var passwordVerifyValue = new byte[2];
stream.Read(salt, 0, salt.Length);
stream.Read(passwordVerifyValue, 0, 2);
stream.ReadFully(salt);
stream.ReadFully(passwordVerifyValue);
entryHeader.WinzipAesEncryptionData = new WinzipAesEncryptionData(
keySize,
salt,