diff options
author | Richard Levitte <levitte@openssl.org> | 2018-10-23 10:15:12 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-10-23 10:56:07 +0200 |
commit | f81b043ad856d8b9af5239a4978f8bd4b965dab9 (patch) | |
tree | 71d184d1cf21dd67b4347918cdbfdae2109c5a3b /crypto/rand/rand_lcl.h | |
parent | RSA security bits calculation (diff) | |
download | openssl-f81b043ad856d8b9af5239a4978f8bd4b965dab9.tar.xz openssl-f81b043ad856d8b9af5239a4978f8bd4b965dab9.zip |
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)
Diffstat (limited to '')
-rw-r--r-- | crypto/rand/rand_lcl.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <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 |