From e7ede97c07c3d4cb99c310ff090742cee8f14381 Mon Sep 17 00:00:00 2001 From: Nathan Moinvaziri Date: Wed, 16 Jan 2019 11:15:00 -0800 Subject: [PATCH] Fixed files are mistakenly listed as encrypted. #359 --- minizip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/minizip.c b/minizip.c index 673d11c..d51ad46 100644 --- a/minizip.c +++ b/minizip.c @@ -145,6 +145,8 @@ int32_t minizip_list(const char *path) /* Display a '*' if the file is encrypted */ if (file_info->flag & MZ_ZIP_FLAG_ENCRYPTED) crypt = '*'; + else + crypt = ' '; switch (file_info->compression_method) {