Permit compiling contrib/minizip/unzip.c with decryption.

This commit is contained in:
Mark Adler 2024-01-23 08:02:38 -08:00
parent 4de0b054a5
commit da5937705d
2 changed files with 0 additions and 5 deletions

View File

@ -68,10 +68,6 @@
#include <stdlib.h>
#include <string.h>
#ifndef NOUNCRYPT
#define NOUNCRYPT
#endif
#include "zlib.h"
#include "unzip.h"

View File

@ -1027,7 +1027,6 @@ extern int ZEXPORT zipOpenNewFileInZip4_64(zipFile file, const char* filename, c
int err = ZIP_OK;
# ifdef NOCRYPT
(crcForCrypting);
if (password != NULL)
return ZIP_PARAMERROR;
# endif