diff options
| author | Pieter Wuille <[email protected]> | 2018-12-17 17:00:06 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2019-01-13 09:53:47 -0800 |
| commit | 6a57ca91da23c6a5d91399ffc7fc09a99b6d4c76 (patch) | |
| tree | 67e68099bd1d3705608631c854f027c5ed5c403a /src/httpserver.cpp | |
| parent | Merge #13884: depends: Enable bdb unicode support for Windows (diff) | |
| download | discoin-6a57ca91da23c6a5d91399ffc7fc09a99b6d4c76.tar.xz discoin-6a57ca91da23c6a5d91399ffc7fc09a99b6d4c76.zip | |
Use FRC::randbytes instead of reading >32 bytes from RNG
There was only one place in the codebase where we're directly reading >32 bytes from
the RNG. One possibility would be to make the built-in RNG support large reads, but
using FastRandomContext lets us reuse code better.
There is no change in behavior here, because the FastRandomContext constructor
uses GetRandBytes internally.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions