2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

use ANSI memset instead of bzero

This commit is contained in:
David Lawrence 2000-06-08 20:42:11 +00:00
parent e90de0d144
commit 076f3bc6ad

View File

@ -280,8 +280,8 @@ entropypool_extract(isc_entropypool_t *rp, void *p, unsigned int len,
good = (rp->entropy >= (8 * RND_ENTROPY_THRESHOLD));
}
bzero(&hash, sizeof(hash));
bzero(digest, sizeof(digest));
memset(&hash, 0, sizeof(hash));
memset(digest, 0, sizeof(digest));
return (len - remain);
}