Add portability fix for new INT_MAX required on all TLS limit checking (added in 91aad90c59 Jan 24, 2025).

This commit is contained in:
David Garske
2025-05-12 12:19:38 -07:00
parent 7a936d731d
commit 4fd76dae95

View File

@ -249,8 +249,8 @@
#endif #endif
#endif #endif
#if !defined(CHAR_BIT) || (defined(OPENSSL_EXTRA) && !defined(INT_MAX)) #if !defined(WOLFCRYPT_ONLY) && !defined(INT_MAX)
/* Needed for DTLS without big math and INT_MAX */ /* Needed for TLS/DTLS limit checking (Added in 91aad90c59 Jan 24, 2025) */
#include <limits.h> #include <limits.h>
#endif #endif