]> git.ipfire.org Git - thirdparty/pdns.git/commit
Introduce dns_random_uint32()
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 13 Jun 2023 09:08:50 +0000 (11:08 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 13 Jun 2023 10:59:31 +0000 (12:59 +0200)
commit43159bf142d429a3458fa0ea07282a24db12a4f5
tree19f0a0597facde7202c2ee5d8a3d3f7aa34a43ff
parente34d77314af485f16ed95f96adf135be95d27a19
Introduce dns_random_uint32()

To be used when a full 32 bits of randomness are needed, also avoiding
the modulo dance
pdns/dns_random.cc
pdns/dns_random.hh