diff options
Diffstat (limited to 'libstb/crypto/mbedtls-config.h')
-rw-r--r-- | libstb/crypto/mbedtls-config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libstb/crypto/mbedtls-config.h b/libstb/crypto/mbedtls-config.h index 9560993..e0c358d 100644 --- a/libstb/crypto/mbedtls-config.h +++ b/libstb/crypto/mbedtls-config.h @@ -86,7 +86,9 @@ /* Settings to reduce/remove warnings */ #define MBEDTLS_MPI_WINDOW_SIZE 3 // (max/default is 6) Increase for speed, may introduce warnings #define MBEDTLS_MPI_MAX_SIZE 512 // (default is 1024) increase for more bits in user-MPIs +#ifndef SIZE_MAX #define SIZE_MAX 65535 // this might need to be in libc? +#endif /* Disableable to mitigate warnings */ //#define MBEDTLS_ASN1_WRITE_C // Expects SIZE_MAX |