Skip to content

Commit

Permalink
Fixed files are mistakenly listed as encrypted. zlib-ng#359
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Jan 16, 2019
1 parent 2ca7f39 commit e7ede97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions minizip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit e7ede97

Please sign in to comment.