From: Richard Levitte Date: Tue, 23 Oct 2018 08:15:12 +0000 (+0200) Subject: RAND: ensure INT32_MAX is defined X-Git-Tag: OpenSSL_1_1_1a~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28361a0b821d36e3b19271b0a7909d5355b0990c;p=openssl 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) --- 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