diff options
author | matthew <> | 2014-06-20 00:02:12 +0000 |
---|---|---|
committer | matthew <> | 2014-06-20 00:02:12 +0000 |
commit | 038448a931f0b4209429847285e08acf69328612 (patch) | |
tree | 045608db3f2a62c96db0ddee7aed19cfbfd05e56 /src/lib/libcrypto/crypto/getentropy_linux.c | |
parent | 150e8864673fb3b65a00e9188f50ca6a5bae927d (diff) | |
download | openbsd-038448a931f0b4209429847285e08acf69328612.tar.gz openbsd-038448a931f0b4209429847285e08acf69328612.tar.bz2 openbsd-038448a931f0b4209429847285e08acf69328612.zip |
arc4random: hard fail with raise(SIGKILL) if getentropy() returns -1
Allow other non-zero return values in case we change our mind to
return an ssize_t byte count instead of simple success/fail.
ok deraadt, djm
Diffstat (limited to 'src/lib/libcrypto/crypto/getentropy_linux.c')
0 files changed, 0 insertions, 0 deletions