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:
parent
ece482ff3a
commit
28361a0b82
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue