summaryrefslogtreecommitdiff
path: root/libarchive/test/test_read_format_xar.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_xar.c')
-rw-r--r--libarchive/test/test_read_format_xar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libarchive/test/test_read_format_xar.c b/libarchive/test/test_read_format_xar.c
index f2de1e0139452..b7189eb259e6d 100644
--- a/libarchive/test/test_read_format_xar.c
+++ b/libarchive/test/test_read_format_xar.c
@@ -663,6 +663,8 @@ static void verify(unsigned char *d, size_t s,
assertA(0 == archive_read_next_header(a, &ae));
assertEqualInt(archive_filter_code(a, 0), ARCHIVE_FILTER_NONE);
assertEqualInt(archive_format(a), ARCHIVE_FORMAT_XAR);
+ assertEqualInt(archive_entry_is_encrypted(ae), 0);
+ assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED);
/* Verify the only entry. */
f1(a, ae);
if (f2) {