diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-11-07 13:42:52 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-11-07 13:49:25 +0100 |
| commit | 65e3a1e76202b9a695fc6319dbd527ac563e0895 (patch) | |
| tree | 4346296f76f3f17b5f3c0120c79f166da64c489f /src/test/script_tests.cpp | |
| parent | Merge pull request #5225 (diff) | |
| download | discoin-65e3a1e76202b9a695fc6319dbd527ac563e0895.tar.xz discoin-65e3a1e76202b9a695fc6319dbd527ac563e0895.zip | |
Make sure that GetRandomBytes never fails
We're using GetRandomBytes in several contexts where it's either
unwieldy to return an error, or an error would mean a fatal exception
anyhow.
@gmaxwell checked OpenSSL a while ago and discovered that it never
actually fails, but it can't hurt to be a bit paranoid here.
Diffstat (limited to 'src/test/script_tests.cpp')
0 files changed, 0 insertions, 0 deletions