b31a59
--- evince-3.28.2/backend/comics/ev-archive.c
b31a59
+++ evince-3.28.2/backend/comics/ev-archive.c
b31a59
@@ -55,7 +55,7 @@ ev_archive_finalize (GObject *object)
b31a59
 	case EV_ARCHIVE_TYPE_ZIP:
b31a59
 	case EV_ARCHIVE_TYPE_7Z:
b31a59
 	case EV_ARCHIVE_TYPE_TAR:
b31a59
-		g_clear_pointer (&archive->libar, archive_free);
b31a59
+		g_clear_pointer (&archive->libar, archive_read_free);
b31a59
 		break;
b31a59
 	default:
b31a59
 		break;
b31a59
@@ -278,7 +278,7 @@ ev_archive_get_entry_is_encrypted (EvArc
b31a59
 	case EV_ARCHIVE_TYPE_7Z:
b31a59
 	case EV_ARCHIVE_TYPE_TAR:
b31a59
 		g_return_val_if_fail (archive->libar_entry != NULL, -1);
b31a59
-		return archive_entry_is_encrypted (archive->libar_entry);
b31a59
+		return FALSE;
b31a59
 	}
b31a59
 
b31a59
 	return FALSE;
b31a59
@@ -336,7 +343,7 @@ ev_archive_reset (EvArchive *archive)
b31a59
 	case EV_ARCHIVE_TYPE_ZIP:
b31a59
 	case EV_ARCHIVE_TYPE_7Z:
b31a59
 	case EV_ARCHIVE_TYPE_TAR:
b31a59
-		g_clear_pointer (&archive->libar, archive_free);
b31a59
+		g_clear_pointer (&archive->libar, archive_read_free);
b31a59
 		libarchive_set_archive_type (archive, archive->type);
b31a59
 		break;
b31a59
 	default:
b31a59
--- evince-3.28.2/configure.ac
b31a59
+++ evince-3.28.2/configure.ac
b31a59
@@ -698,7 +698,7 @@ AC_ARG_ENABLE(comics,
b31a59
 	[enable_comics=yes])
b31a59
 
b31a59
 if test "x$enable_comics" = "xyes"; then
b31a59
-   LIBARCHIVE_REQUIRED=3.2.0
b31a59
+   LIBARCHIVE_REQUIRED=3.1.2
b31a59
    PKG_CHECK_MODULES(LIBARCHIVE, libarchive >= $LIBARCHIVE_REQUIRED,enable_comics=yes,enable_comics=no)
b31a59
 
b31a59
    if test "x$enable_comics" = "xyes"; then