why does RAND_add() take "randomness" as a "double"?

Salz, Rich rsalz at akamai.com
Tue May 21 14:44:39 UTC 2019

When I overhauled the RAND mechanism, I tried to deprecate this use of floating point, in favor of just a number from 0 to 100 but was voted down.

It *is* stupid.  Luckily, on a modern system with system-provided randomness to seed the RNG, you never need this call.

More information about the openssl-users mailing list