diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-02-28 23:37:24 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-02-28 23:53:00 +0100 |
commit | 033dc8974de052c1f1ab5d735ec2ee921127e352 (patch) | |
tree | 1eb70e88bfa63b77ef7d682d723b5f8613d83525 /src/tools/Makefile | |
parent | wg-quick: freebsd: rebreak interface loopback, while fixing localhost (diff) | |
download | wireguard-monolithic-historical-033dc8974de052c1f1ab5d735ec2ee921127e352.tar.xz wireguard-monolithic-historical-033dc8974de052c1f1ab5d735ec2ee921127e352.zip |
tools: genkey: account for short reads of /dev/urandom
Apparently Haiku has a misbehaving /dev/urandom.
While we're at it, simplify the function signature to completely succeed
or completely fail and make sure the caller checks the result.
Reported-by: Alexander von Gluck IV <kallisti5@unixzen.com>
Nitpicked-by: Aaron Jones <aaronmdjones@gmail.com>
Diffstat (limited to 'src/tools/Makefile')
0 files changed, 0 insertions, 0 deletions