From: Amos Jeffries Date: Fri, 22 May 2015 13:33:01 +0000 (-0700) Subject: Crypto-NG: update random number generators X-Git-Tag: merge-candidate-3-v1~109 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=56655ab7a6dd0d036040e69c3141355710d070bf;p=thirdparty%2Fsquid.git Crypto-NG: update random number generators C++11 brings with it a set of reasonable quality random number generators and tools to retrieve values for various ranges and types. Use those C++11 STL 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. --- 56655ab7a6dd0d036040e69c3141355710d070bf