Skip to content

Commit da59377

Browse files
committed
Permit compiling contrib/minizip/unzip.c with decryption.
1 parent 4de0b05 commit da59377

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

contrib/minizip/unzip.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@
6868
#include <stdlib.h>
6969
#include <string.h>
7070

71-
#ifndef NOUNCRYPT
72-
#define NOUNCRYPT
73-
#endif
74-
7571
#include "zlib.h"
7672
#include "unzip.h"
7773

contrib/minizip/zip.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,6 @@ extern int ZEXPORT zipOpenNewFileInZip4_64(zipFile file, const char* filename, c
10271027
int err = ZIP_OK;
10281028

10291029
# ifdef NOCRYPT
1030-
(crcForCrypting);
10311030
if (password != NULL)
10321031
return ZIP_PARAMERROR;
10331032
# endif

0 commit comments

Comments
 (0)