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:
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));
|
good = (rp->entropy >= (8 * RND_ENTROPY_THRESHOLD));
|
||||||
}
|
}
|
||||||
|
|
||||||
bzero(&hash, sizeof(hash));
|
memset(&hash, 0, sizeof(hash));
|
||||||
bzero(digest, sizeof(digest));
|
memset(digest, 0, sizeof(digest));
|
||||||
|
|
||||||
return (len - remain);
|
return (len - remain);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user