Make sure to include "internal/numbers.h" to get SIZE_MAX
authorRichard Levitte <levitte@openssl.org>
Mon, 17 May 2021 19:38:51 +0000 (21:38 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 19 May 2021 10:41:34 +0000 (12:41 +0200)
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15319)

crypto/evp/m_sigver.c
crypto/evp/p_lib.c
crypto/evp/signature.c

index 0a51493efb83f37c2a6acdf120fe13659a8d1c17..17565554e095d8d0c2881e745e826fa15328df96 100644 (file)
@@ -14,6 +14,7 @@
 #include <openssl/x509.h>
 #include "crypto/evp.h"
 #include "internal/provider.h"
+#include "internal/numbers.h"   /* includes SIZE_MAX */
 #include "evp_local.h"
 
 #ifndef FIPS_MODULE
index 6a8dc9bbbbfd4be16f918c52e3377b2c650311fe..00a310d4e4b36184353c11d2a62301a043904ecc 100644 (file)
@@ -34,6 +34,7 @@
 #include <openssl/encoder.h>
 #include <openssl/core_names.h>
 
+#include "internal/numbers.h"   /* includes SIZE_MAX */
 #include "internal/ffc.h"
 #include "crypto/asn1.h"
 #include "crypto/evp.h"
index c945eaae5e6b06138b393f04633bf28a6f485be4..e80d4f503d5f7e95d9d0d666937235762c4cafc8 100644 (file)
@@ -11,6 +11,7 @@
 #include <stdlib.h>
 #include <openssl/objects.h>
 #include <openssl/evp.h>
+#include "internal/numbers.h"   /* includes SIZE_MAX */
 #include "internal/cryptlib.h"
 #include "internal/provider.h"
 #include "internal/core.h"