mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
use ANSI memset instead of bzero
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user