2
0
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:
Michael Graff
2000-06-12 21:37:13 +00:00
parent 85db942a01
commit 6a3beb6f7e

View File

@@ -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