From: Richard Levitte Date: Mon, 17 May 2021 19:38:51 +0000 (+0200) Subject: Make sure to include "internal/numbers.h" to get SIZE_MAX X-Git-Tag: openssl-3.0.0-alpha17~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d2f53212933f751ef76acca9cc05bcb67d799964;p=thirdparty%2Fopenssl.git Make sure to include "internal/numbers.h" to get SIZE_MAX Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15319) --- diff --git a/crypto/evp/m_sigver.c b/crypto/evp/m_sigver.c index 0a51493efb8..17565554e09 100644 --- a/crypto/evp/m_sigver.c +++ b/crypto/evp/m_sigver.c @@ -14,6 +14,7 @@ #include #include "crypto/evp.h" #include "internal/provider.h" +#include "internal/numbers.h" /* includes SIZE_MAX */ #include "evp_local.h" #ifndef FIPS_MODULE diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c index 6a8dc9bbbbf..00a310d4e4b 100644 --- a/crypto/evp/p_lib.c +++ b/crypto/evp/p_lib.c @@ -34,6 +34,7 @@ #include #include +#include "internal/numbers.h" /* includes SIZE_MAX */ #include "internal/ffc.h" #include "crypto/asn1.h" #include "crypto/evp.h" diff --git a/crypto/evp/signature.c b/crypto/evp/signature.c index c945eaae5e6..e80d4f503d5 100644 --- a/crypto/evp/signature.c +++ b/crypto/evp/signature.c @@ -11,6 +11,7 @@ #include #include #include +#include "internal/numbers.h" /* includes SIZE_MAX */ #include "internal/cryptlib.h" #include "internal/provider.h" #include "internal/core.h"