Skip to content

Commit c8ae5a7

Browse files
committed
Test ZipFile.TestArchive with an AES encrypted archive.
1 parent ff0b0dc commit c8ae5a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/ICSharpCode.SharpZipLib.Tests/Zip/ZipEncryptionHandling.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ public void ZipFileAesDecryption()
7171
Assert.AreEqual(DummyDataString, content, "Decompressed content does not match input data");
7272
}
7373
}
74+
75+
Assert.That(zipFile.TestArchive(false), Is.True, "Encrypted archive should pass validation.");
7476
}
7577
}
7678

0 commit comments

Comments
 (0)