diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2019-01-15 16:03:54 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2019-01-16 16:33:08 -0800 |
commit | 16e40a8b562ad849a5f5e8b21ceb375e46038243 (patch) | |
tree | 82f3ecf3b995e3e00eafffd94773038606890404 /src/scheduler.cpp | |
parent | 2ccc3d3aa346e96206281a391bc29874cf5ee7f4 (diff) |
Integrate util/system's CInit into RNGState
This guarantees that OpenSSL is initialized properly whenever randomness
is used, even when that randomness is invoked from global constructors.
Note that this patch uses Mutex directly, rather than CCriticalSection.
This is because the lock-detection code is not necessarily initialized
during global constructors.
Diffstat (limited to 'src/scheduler.cpp')
0 files changed, 0 insertions, 0 deletions