mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
don't reset initialized state to ISC_TRUE -- it is a counter now, not a boolean
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user