diff options
author | Richard Levitte <levitte@openssl.org> | 2004-03-15 22:37:08 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2004-03-15 22:37:08 +0000 |
commit | fd836aeee017d4c7fef8e4d21afa07081e815be2 (patch) | |
tree | a965c2a41a004f2865f10652c2b875c98998640f /crypto/rsa/rsa_eay.c | |
parent | 560f7abb7e12d09b5e1dd2e9c8e3c6a04fc901d3 (diff) | |
download | openssl-fd836aeee017d4c7fef8e4d21afa07081e815be2.tar.gz |
Make sure that the last argument to RAND_add() is a float, or some
compilers may complain.
Diffstat (limited to 'crypto/rsa/rsa_eay.c')
-rw-r--r-- | crypto/rsa/rsa_eay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_eay.c b/crypto/rsa/rsa_eay.c index ee2a70bb48..5beb9c9fdf 100644 --- a/crypto/rsa/rsa_eay.c +++ b/crypto/rsa/rsa_eay.c @@ -243,7 +243,7 @@ static BN_BLINDING *setup_blinding(RSA *rsa, BN_CTX *ctx) if ((RAND_status() == 0) && rsa->d != NULL && rsa->d->d != NULL) { /* if PRNG is not properly seeded, resort to secret exponent as unpredictable seed */ - RAND_add(rsa->d->d, rsa->d->dmax * sizeof rsa->d->d[0], 0); + RAND_add(rsa->d->d, rsa->d->dmax * sizeof rsa->d->d[0], 0.0); if (!BN_pseudo_rand_range(A,rsa->n)) goto err; } else |