projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97b0b71
)
RAND: ensure INT32_MAX is defined
author
Richard Levitte
<levitte@openssl.org>
Tue, 23 Oct 2018 08:15:12 +0000
(10:15 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 23 Oct 2018 08:56:07 +0000
(10:56 +0200)
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)
crypto/rand/rand_lcl.h
patch
|
blob
|
history
diff --git
a/crypto/rand/rand_lcl.h
b/crypto/rand/rand_lcl.h
index 13f8cc823951f23cb9d860efa3e1cdfe93dfbb87..9004809a8b597b3d4b9e66c2bb7fe329c1f42ca8 100644
(file)
--- 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