RAND: ensure INT32_MAX is defined

This value is used to set DRBG_MAX_LENGTH

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7467)

(cherry picked from commit f81b043ad8)
This commit is contained in:
Richard Levitte 2018-10-23 10:15:12 +02:00
parent ece482ff3a
commit 28361a0b82

View file

@ -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