mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
use ANSI memset instead of bzero
This commit is contained in:
parent
e90de0d144
commit
076f3bc6ad
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user