mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-26 16:47:31 -04:00
don't reset initialized state to ISC_TRUE -- it is a counter now, not a boolean
This commit is contained in:
parent
85db942a01
commit
6a3beb6f7e
1 changed files with 1 additions and 4 deletions
|
|
@ -423,11 +423,8 @@ fillpool(isc_entropy_t *ent, unsigned int needed, isc_boolean_t blocking) {
|
|||
/*
|
||||
* Mark as initialized if we've added enough data.
|
||||
*/
|
||||
if (ent->initialized < 20) {
|
||||
if (ent->initialized < 20)
|
||||
ent->initialized += added;
|
||||
if (ent->initialized >= 20)
|
||||
ent->initialized = ISC_TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Reference in a new issue