summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/rand.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-12-08 21:50:09 +0000
committerderaadt <deraadt@openbsd.org>2014-12-08 21:50:09 +0000
commita3274c2b59277ec10facea2e2d9f0a55c4ca523b (patch)
treea52e4d7540fe06951d456cc957a8366815520a17 /lib/libc/stdlib/rand.c
parentDon't need special complex rand vs arc4random code. If the (diff)
downloadwireguard-openbsd-a3274c2b59277ec10facea2e2d9f0a55c4ca523b.tar.xz
wireguard-openbsd-a3274c2b59277ec10facea2e2d9f0a55c4ca523b.zip
Use srandom_deterministic() if a seed is supplied, thereby switching the
subsystem out of strong random mode. No effective change from what we've been doing for a while. Result is it becomes 1 line of code. ok millert
Diffstat (limited to 'lib/libc/stdlib/rand.c')
0 files changed, 0 insertions, 0 deletions