Commit f81b043a authored by Richard Levitte's avatar Richard Levitte
Browse files

RAND: ensure INT32_MAX is defined



This value is used to set DRBG_MAX_LENGTH

Reviewed-by: default avatarMatthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7467)
parent 97b0b713
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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