This repository has been archived on 2024-01-23. You can view files and clone it, but cannot push or open issues or pull requests.
wireguard-tools/contrib
Jason A. Donenfeld 74a6f97b7a wg: 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>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-28 23:53:00 +01:00
..
dns-hatchet global: update copyright 2019-01-07 19:26:10 -05:00
embeddable-wg-library wg: genkey: account for short reads of /dev/urandom 2019-02-28 23:53:00 +01:00
external-tests global: update copyright 2019-01-07 19:26:10 -05:00
extract-handshakes global: update copyright 2019-01-07 19:26:10 -05:00
extract-keys global: update copyright 2019-01-07 19:26:10 -05:00
highlighter highlighter: when subtracting char, cast to unsigned 2019-01-31 02:03:10 +01:00
json global: update copyright 2019-01-07 19:26:10 -05:00
keygen-html global: normalize -> clamp 2019-01-23 14:29:44 +01:00
nat-hole-punching global: update copyright 2019-01-07 19:26:10 -05:00
ncat-client-server global: update copyright 2019-01-07 19:26:10 -05:00
reresolve-dns global: update copyright 2019-01-07 19:26:10 -05:00
sticky-sockets global: update copyright 2019-01-07 19:26:10 -05:00
synergy global: update copyright 2019-01-07 19:26:10 -05:00