summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2004-03-25 15:52:43 +0000
committerRichard Levitte <levitte@openssl.org>2004-03-25 15:52:43 +0000
commita87228031f8a4e274c2f859a2589dcef2eb7cc58 (patch)
tree4d523d089f8be3431aa4b373650830799a67fd24
parentb79c82eaabd87d336f91881f63b4104fec9ae445 (diff)
RAND_add() wants a double as it's last argument.
-rw-r--r--crypto/bn/bn_rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_rand.c b/crypto/bn/bn_rand.c
index df45575f9a..323bfa74bc 100644
--- 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)
{