From 28361a0b821d36e3b19271b0a7909d5355b0990c Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 23 Oct 2018 10:15:12 +0200 Subject: [PATCH] RAND: ensure INT32_MAX is defined This value is used to set DRBG_MAX_LENGTH Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/7467) (cherry picked from commit f81b043ad856d8b9af5239a4978f8bd4b965dab9) --- crypto/rand/rand_lcl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/rand/rand_lcl.h b/crypto/rand/rand_lcl.h index 5d9fb13abe..38614a85b7 100644 --- a/crypto/rand/rand_lcl.h +++ b/crypto/rand/rand_lcl.h @@ -17,6 +17,8 @@ # include # include +# include "internal/numbers.h" + /* How many times to read the TSC as a randomness source. */ # define TSC_READ_COUNT 4 -- 2.25.1