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 | f3a1c6504679b039ba563b5b45c9bbe1113dfbad (patch) | |
tree | d5367904bbb69ed360d5af2f97b998fc8911f4bf /contrib/external-tests/haskell | |
parent | noise: fix race when replacing handshake (diff) | |
download | wireguard-monolithic-historical-f3a1c6504679b039ba563b5b45c9bbe1113dfbad.tar.xz wireguard-monolithic-historical-f3a1c6504679b039ba563b5b45c9bbe1113dfbad.zip |
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
Diffstat (limited to 'contrib/external-tests/haskell')
0 files changed, 0 insertions, 0 deletions