summaryrefslogtreecommitdiff
path: root/libarchive/test/test_read_format_isojoliet_versioned.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_format_isojoliet_versioned.c')
-rw-r--r--libarchive/test/test_read_format_isojoliet_versioned.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libarchive/test/test_read_format_isojoliet_versioned.c b/libarchive/test/test_read_format_isojoliet_versioned.c
index 1b38f118..011b5e29 100644
--- a/libarchive/test/test_read_format_isojoliet_versioned.c
+++ b/libarchive/test/test_read_format_isojoliet_versioned.c
@@ -59,7 +59,7 @@ DEFINE_TEST(test_read_format_isojoliet_versioned)
assertEqualString("test", archive_entry_pathname(ae));
assertEqualInt(AE_IFDIR, archive_entry_filetype(ae));
assertEqualInt(archive_entry_is_encrypted(ae), 0);
- assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0);
+ assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED);
/* A regular file which is called test.txt and has
* ;1 appended to it because apparently Nero always
@@ -72,7 +72,7 @@ DEFINE_TEST(test_read_format_isojoliet_versioned)
archive_entry_pathname(ae));
assertEqualInt(AE_IFREG, archive_entry_filetype(ae));
assertEqualInt(archive_entry_is_encrypted(ae), 0);
- assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0);
+ assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED);
/* End of archive. */
assertEqualInt(ARCHIVE_EOF, archive_read_next_header(a, &ae));