Commit 86595d44 authored by Shawn Webb's avatar Shawn Webb
Browse files

HBSD: XKCD-221 Compliance


Signed-off-by: Shawn Webb's avatarShawn Webb <shawn.webb@hardenedbsd.org>
parent 91f70e68
......@@ -210,7 +210,11 @@ int
while (uio->uio_resid > 0 && error == 0) {
read_len = MIN((size_t)uio->uio_resid, bufsize);
#if 0
p_random_alg_context->ra_read(random_buf, read_len);
#endif
memset(random_buf, 0x4, read_len);
/*
* uiomove() may yield the CPU before each 'read_len' bytes (up
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment