View | Details | Raw Unified | Return to bug 252483
Collapse All | Expand All

(-)files/patch-git_fd89e242 (+18 lines)
Line 0 Link Here
1
commit fd89e242d16128dedef08f47d99ae56aa19b0591
2
Author: Ørjan Malde <red@foxi.me>
3
Date:   Wed Jul 15 12:16:16 2020 +0200
4
5
    Include limits.h for INT_MAX
6
7
diff --git a/lib/zip_crypto_openssl.c b/lib/zip_crypto_openssl.c
8
index 1cb00479..60f92758 100644
9
--- lib/zip_crypto_openssl.c
10
+++ lib/zip_crypto_openssl.c
11
@@ -38,6 +38,7 @@
12
 #include "zip_crypto.h"
13
 
14
 #include <openssl/rand.h>
15
+#include <limits.h>
16
 
17
 #if OPENSSL_VERSION_NUMBER < 0x1010000fL || defined(LIBRESSL_VERSION_NUMBER)
18
 #define USE_OPENSSL_1_0_API

Return to bug 252483