random: use Curl_rand() for proper random data
authorDaniel Stenberg <daniel@haxx.se>
Tue, 3 Jun 2014 16:25:48 +0000 (18:25 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 3 Jun 2014 16:25:48 +0000 (18:25 +0200)
commitbbd3dc611ed501edeca72026885bbf85868dd1cf
tree04b29bde0b91b200a392b2ebaac9e6a106a1971f
parent62a26ec6962944383704c2b2a77fdb062200e814
random: use Curl_rand() for proper random data

The SASL/Digest previously used the current time's seconds +
microseconds to add randomness but it is much better to instead get more
data from Curl_rand().

It will also allow us to easier "fake" that for debug builds on demand
in a future.
lib/curl_sasl.c
lib/http_digest.c