Correct a random value disclosure in random(4).

Security:	FreeBSD-SA-07:09.random
This commit is contained in:
simon 2007-11-29 16:06:12 +00:00
parent df297799bd
commit ab5beb74a6

View File

@ -296,6 +296,7 @@ random_yarrow_read(void *buf, int count)
random_state.outputblocks = 0;
}
retval += (int)tomove;
cur = 0;
}
}
else {