diff options
author | jmg <jmg@FreeBSD.org> | 2015-02-17 17:37:00 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2015-02-17 17:37:00 +0000 |
commit | 90229b36302992f0f8aad15d910a0510ada82596 (patch) | |
tree | 643eba92e81c7da9b107d1cbd573ea15e3eecd59 /contrib/gdtoa/strtod.c | |
parent | 3f44c8b9f32b9c7540d172f7c4d417b3b45daebe (diff) | |
download | FreeBSD-src-90229b36302992f0f8aad15d910a0510ada82596.zip FreeBSD-src-90229b36302992f0f8aad15d910a0510ada82596.tar.gz |
When the new random adaptor code was brought it in r273872, a call to
randomdev_init_reader to change read_random over to the newly installed
adaptor was missed. This means both read_random and arc4random (seeded
from read_random) were not returning very random data. This also
effects userland arc4random as it is seeded from kernel arc4random.
The random devices are uneffected and have returned good randomness
since the change.
All keys generated with a kernel of r273872 must be regenerated with
a kernel with this patch. Keys generated may be predictable.
Remove the warning as log is too early to print anything, and it would
always get printed due to early use of arc4random...
Reviewed by: delphij, markm
Approved by: so (delphij)
Diffstat (limited to 'contrib/gdtoa/strtod.c')
0 files changed, 0 insertions, 0 deletions