Commit 28361a0b 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)

(cherry picked from commit f81b043ad856d8b9af5239a4978f8bd4b965dab9)
parent ece482ff
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