mirror of
https://github.com/simon987/libscan.git
synced 2025-12-14 06:59:02 +00:00
Support for encrypted archives
This commit is contained in:
@@ -602,8 +602,11 @@ TEST(Arc, EncryptedZip) {
|
||||
|
||||
size_t size_before = store_size;
|
||||
|
||||
strcpy(arc_recurse_media_ctx.passphrase, "sist2");
|
||||
parse_archive(&arc_recurse_media_ctx, &f, &doc);
|
||||
|
||||
arc_recurse_media_ctx.passphrase[0] = '\0';
|
||||
|
||||
ASSERT_NE(size_before, store_size);
|
||||
|
||||
cleanup(&doc, &f);
|
||||
|
||||
Reference in New Issue
Block a user