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

Blumenthal, Uri - 0553 - MITLL uri at ll.mit.edu
Wed May 22 17:17:03 UTC 2019

I can understand why you may not want to break existing API. Why not add another similar interface done the right way?

On 5/22/19, 1:11 PM, "openssl-users on behalf of Dr. Matthias St. Pierre" <openssl-users-bounces at openssl.org on behalf of Matthias.St.Pierre at ncp-e.com> wrote:

    I think nobody of us needs to be convinced anymore that making it a 'double' was a bad idea.
    But the RAND api is very ancient and changing the argument type would be a breaking change. 
    That's why we didn't dare to touch it when we overhauled the RNG implementation for 1.1.1,
    because we tried very hard not to add unnecessary breaking changes to the ones made in 1.1.0.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5229 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20190522/c8ec9ea6/attachment.bin>

More information about the openssl-users mailing list