mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
2619. [func] Add support for RFC 5011, automatic trust anchor
maintenance. The new "managed-keys" statement can be used in place of "trusted-keys" for zones which support this protocol. (Note: this syntax is expected to change prior to 9.7.0 final.) [RT #19248]
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: random.c,v 1.25 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: random.c,v 1.26 2009/06/30 02:52:32 each Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -92,7 +92,7 @@ isc_random_get(isc_uint32_t *val)
|
||||
|
||||
isc_uint32_t
|
||||
isc_random_jitter(isc_uint32_t max, isc_uint32_t jitter) {
|
||||
REQUIRE(jitter < max);
|
||||
REQUIRE(jitter < max || (jitter == 0 && max == 0));
|
||||
if (jitter == 0)
|
||||
return (max);
|
||||
else
|
||||
|
Reference in New Issue
Block a user