[squid-dev] [PATCH] Crypto-NG: update use of random number generators

Amos Jeffries squid3 at treenet.co.nz
Fri May 22 13:37:17 UTC 2015


On 12/05/2015 3:43 a.m., Amos Jeffries wrote:
> C++11 brings with it a set of reasonable quality random number
>> generators and tools to retrieve values for various ranges and types.
>> 
>> This patch C++11 STL <random> features to replace the use of the
>> varyingly broken, weak or non-standard functions: rand(), random(),
>> lrand48(), and drand48().
>> 
>> In the process we gain much faster and higher quality randomness in the
>> auth nonces and event queue scheduling. And more "even" spread for the
>> ACL random feature.

Finaly stopped procrastinating and got this in as trunk rev.14085.

Amos



More information about the squid-dev mailing list