summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-10-23 10:15:12 +0200
committerRichard Levitte <levitte@openssl.org>2018-10-23 10:56:07 +0200
commitf81b043ad856d8b9af5239a4978f8bd4b965dab9 (patch)
tree71d184d1cf21dd67b4347918cdbfdae2109c5a3b /crypto
parent97b0b713fbeb74d7531fe88a2362250c6324655f (diff)
RAND: ensure INT32_MAX is defined
This value is used to set DRBG_MAX_LENGTH Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/7467)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/rand/rand_lcl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/rand/rand_lcl.h b/crypto/rand/rand_lcl.h
index 13f8cc8239..9004809a8b 100644
--- a/crypto/rand/rand_lcl.h
+++ b/crypto/rand/rand_lcl.h
@@ -17,6 +17,8 @@
# include <openssl/ec.h>
# include <openssl/rand_drbg.h>
+# include "internal/numbers.h"
+
/* How many times to read the TSC as a randomness source. */
# define TSC_READ_COUNT 4