0001-remove-ifndef-NOUNCRYPT.patch 671 B

1234567891011121314151617181920212223242526272829
  1. From a6fd3992d44053a523a67aa16f5ae88fecfb20e1 Mon Sep 17 00:00:00 2001
  2. From: Nicole Mazzuca <[email protected]>
  3. Date: Tue, 22 Sep 2020 14:09:53 -0700
  4. Subject: [PATCH 1/2] remove `#ifndef NOUNCRYPT`
  5. enable decrypt support for password-encrypted ZIP files
  6. ---
  7. contrib/minizip/unzip.c | 4 ----
  8. 1 file changed, 4 deletions(-)
  9. diff --git a/contrib/minizip/unzip.c b/contrib/minizip/unzip.c
  10. index bcfb941..1895a0f 100644
  11. --- a/contrib/minizip/unzip.c
  12. +++ b/contrib/minizip/unzip.c
  13. @@ -68,10 +68,6 @@
  14. #include <stdlib.h>
  15. #include <string.h>
  16. -#ifndef NOUNCRYPT
  17. - #define NOUNCRYPT
  18. -#endif
  19. -
  20. #include "zlib.h"
  21. #include "unzip.h"
  22. --
  23. 2.24.3 (Apple Git-128)