]> git.ipfire.org Git - thirdparty/pdns.git/commit
auth: Unify usage of randomness source by using `dns_random()` 4750/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 29 Aug 2016 15:28:35 +0000 (17:28 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 8 Dec 2016 09:55:07 +0000 (10:55 +0100)
commitf376259e6721b7068cef7b36e51df8546c21dd6a
tree7e265c7787823fcc1ad39ac47711d4dba8200f5f
parent90a2b84a7c291ffd6c706e1ef78e31966fea5341
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!).

(cherry picked from commit d2116c15dbf1e0cef93e478678d1f9d403d87f90)
pdns/common_startup.cc
pdns/communicator.hh
pdns/dnspacket.cc
pdns/dnsproxy.cc