diff options
author | matthew <> | 2014-06-20 00:02:12 +0000 |
---|---|---|
committer | matthew <> | 2014-06-20 00:02:12 +0000 |
commit | 389096505b8b9e44923ba7b4f675c83f3c3492f1 (patch) | |
tree | 045608db3f2a62c96db0ddee7aed19cfbfd05e56 /src/lib/libc/stdlib/abs.c | |
parent | 3f4e4aa9316cf074c27b03455dc6d2b35f06ba13 (diff) | |
download | openbsd-389096505b8b9e44923ba7b4f675c83f3c3492f1.tar.gz openbsd-389096505b8b9e44923ba7b4f675c83f3c3492f1.tar.bz2 openbsd-389096505b8b9e44923ba7b4f675c83f3c3492f1.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/libc/stdlib/abs.c')
0 files changed, 0 insertions, 0 deletions