summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-05-17 21:38:51 +0200
committerRichard Levitte <levitte@openssl.org>2021-05-19 12:41:34 +0200
commitd2f53212933f751ef76acca9cc05bcb67d799964 (patch)
tree374253fcbae0c46ca9935e6a2b55d8b865ca7c05
parent857cbe176f28e3f178e492159fa9f2f203e845cd (diff)
Make sure to include "internal/numbers.h" to get SIZE_MAX
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15319)
-rw-r--r--crypto/evp/m_sigver.c1
-rw-r--r--crypto/evp/p_lib.c1
-rw-r--r--crypto/evp/signature.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/crypto/evp/m_sigver.c b/crypto/evp/m_sigver.c
index 0a51493efb..17565554e0 100644
--- a/crypto/evp/m_sigver.c
+++ b/crypto/evp/m_sigver.c
@@ -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
diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c
index 6a8dc9bbbb..00a310d4e4 100644
--- a/crypto/evp/p_lib.c
+++ b/crypto/evp/p_lib.c
@@ -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"
diff --git a/crypto/evp/signature.c b/crypto/evp/signature.c
index c945eaae5e..e80d4f503d 100644
--- a/crypto/evp/signature.c
+++ b/crypto/evp/signature.c
@@ -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"