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:
b79c82e
)
RAND_add() wants a double as it's last argument.
author
Richard Levitte
<levitte@openssl.org>
Thu, 25 Mar 2004 15:52:43 +0000
(15:52 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 25 Mar 2004 15:52:43 +0000
(15:52 +0000)
crypto/bn/bn_rand.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_rand.c
b/crypto/bn/bn_rand.c
index df45575f9a7d0142683fd8c56dbe01fbdab22f31..323bfa74bc12f5e7c2e6631818d360c1151e3a06 100644
(file)
--- a/
crypto/bn/bn_rand.c
+++ b/
crypto/bn/bn_rand.c
@@
-140,7
+140,7
@@
static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom)
/* make a random number and set the top and bottom bits */
time(&tim);
- RAND_add(&tim,sizeof(tim),0);
+ RAND_add(&tim,sizeof(tim),0
.0
);
if (pseudorand)
{