From 076f3bc6ad7ea27ff123040c4a9026f409a9079c Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 8 Jun 2000 20:42:11 +0000 Subject: [PATCH] use ANSI memset instead of bzero --- lib/isc/unix/entropy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/isc/unix/entropy.c b/lib/isc/unix/entropy.c index 95111c315e..315af3ae7f 100644 --- a/lib/isc/unix/entropy.c +++ b/lib/isc/unix/entropy.c @@ -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); }