]> git.ipfire.org Git - thirdparty/pdns.git/commit
auth: Unify usage of randomness source by using `dns_random()` 4625/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 29 Aug 2016 15:28:35 +0000 (17:28 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 24 Oct 2016 09:21:25 +0000 (11:21 +0200)
commitd2116c15dbf1e0cef93e478678d1f9d403d87f90
tree40ceb2c130e0ff0379dff523914963d0330f3b3b
parent2eb48192b40a1fed73e7d0322692540131d0333c
auth: Unify usage of randomness source by using `dns_random()`

`Utility::random()` is not impossible to predict, so even if we are not
using it for anything sensitive it's better to just use `dns_random()`
instead.
Reported by mongo (thanks!).
pdns/common_startup.cc
pdns/communicator.hh
pdns/dnspacket.cc
pdns/dnsproxy.cc