From: Richard Levitte Date: Tue, 23 Oct 2018 08:15:12 +0000 (+0200) Subject: RAND: ensure INT32_MAX is defined X-Git-Tag: openssl-3.0.0-alpha1~3022 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f81b043ad856d8b9af5239a4978f8bd4b965dab9;p=oweals%2Fopenssl.git 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) --- 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 # include +# include "internal/numbers.h" + /* How many times to read the TSC as a randomness source. */ # define TSC_READ_COUNT 4