summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cryptlib.c
diff options
context:
space:
mode:
authormatthew <>2014-06-20 00:02:12 +0000
committermatthew <>2014-06-20 00:02:12 +0000
commit389096505b8b9e44923ba7b4f675c83f3c3492f1 (patch)
tree045608db3f2a62c96db0ddee7aed19cfbfd05e56 /src/lib/libcrypto/cryptlib.c
parent3f4e4aa9316cf074c27b03455dc6d2b35f06ba13 (diff)
downloadopenbsd-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/libcrypto/cryptlib.c')
0 files changed, 0 insertions, 0 deletions