2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

MIN -> MAX

This commit is contained in:
Brian Wellington
2000-06-12 20:49:18 +00:00
parent 6b07f707e1
commit 898c0c12f0

View File

@@ -373,7 +373,7 @@ fillpool(isc_entropy_t *ent, unsigned int needed, isc_boolean_t blocking) {
* bytes of randomness.
*/
if (ent->initialized < 20)
needed = ISC_MIN(needed, 20 - ent->initialized);
needed = ISC_MAX(needed, 20 - ent->initialized);
/*
* Poll each file source to see if we can read anything useful from