diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-06-02 17:41:11 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-06-08 04:24:14 +0200 |
commit | d481c19473061cc6314d22d8ff8e1def7567af5c (patch) | |
tree | 8127baf8826eaf20e7fcc379dfeb22fd2741c8c7 /src/routingtable.c | |
parent | f2ce3e868c91cb84819eb89019484301feffe87d (diff) |
config: ensure the RNG is initialized before setting
It's possible that get_random_bytes() will return bad randomness if it
hasn't been seeded. This patch makes configuration block until the RNG
is properly initialized.
Reference: http://www.openwall.com/lists/kernel-hardening/2017/06/02/2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/routingtable.c')
0 files changed, 0 insertions, 0 deletions