commit | b4a4f778806fe2c3ca9ec57c0411a8dcf462e655 | [log] [tgz] |
---|---|---|
author | Thomas Klausner <tk@giga.or.at> | Wed Jul 15 12:38:07 2020 +0200 |
committer | Thomas Klausner <tk@giga.or.at> | Wed Jul 15 12:38:07 2020 +0200 |
tree | b84f6cc5d4bdc5314e18495bf76c61a4e7d5ce2b | |
parent | 9947d8789d4388e7cb87bd6209b3d40a20e0d08b [diff] |
Include limits.h for INT_MAX.
diff --git a/lib/zip_crypto_mbedtls.c b/lib/zip_crypto_mbedtls.c index c348ad2..7063c6b 100644 --- a/lib/zip_crypto_mbedtls.c +++ b/lib/zip_crypto_mbedtls.c
@@ -41,6 +41,7 @@ #include <mbedtls/entropy.h> #include <mbedtls/pkcs5.h> +#include <limits.h> _zip_crypto_aes_t * _zip_crypto_aes_new(const zip_uint8_t *key, zip_uint16_t key_size, zip_error_t *error) {