aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-02-22 08:51:26 +0100
committerWladimir J. van der Laan <[email protected]>2017-02-22 08:51:26 +0100
commit7e6dcd9995b99e894b8017f09016c405b066ca36 (patch)
tree4a7b37b6c622abe872d141918375cb90d378f4c1 /src/script/script.cpp
parentsanity: Move OS random to sanity check function (diff)
downloaddiscoin-7e6dcd9995b99e894b8017f09016c405b066ca36.tar.xz
discoin-7e6dcd9995b99e894b8017f09016c405b066ca36.zip
random: Add fallback if getrandom syscall not available
If the code was compiled with newer (>=3.17) kernel headers but executed on a system without the system call, every use of random would crash the program. Add a fallback for that case.
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions