summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cryptlib.c
diff options
context:
space:
mode:
authorbeck <>2017-04-29 18:43:31 +0000
committerbeck <>2017-04-29 18:43:31 +0000
commit06e58ee3d445df182278c56c23d0bf1aec820070 (patch)
tree9d2dfa9d8453f3e8a200772549cd3e1a28bb583d /src/lib/libcrypto/cryptlib.c
parent0c57456f9f2117b8c7693bf23610ec60000f181a (diff)
downloadopenbsd-06e58ee3d445df182278c56c23d0bf1aec820070.tar.gz
openbsd-06e58ee3d445df182278c56c23d0bf1aec820070.tar.bz2
openbsd-06e58ee3d445df182278c56c23d0bf1aec820070.zip
Switch Linux getrandom() usage to non-blocking mode, continuing to
use fallback mechanims if unsuccessful. The design of Linux getrandom is broken. It has an uninitialized phase coupled with blocking behaviour, which is unacceptable from within a library at boot time without possible recovery. ok deraadt@ jsing@
Diffstat (limited to 'src/lib/libcrypto/cryptlib.c')
0 files changed, 0 insertions, 0 deletions