diff options
Diffstat (limited to 'src/common/Cryptography/CryptoRandom.cpp')
-rw-r--r-- | src/common/Cryptography/CryptoRandom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Cryptography/CryptoRandom.cpp b/src/common/Cryptography/CryptoRandom.cpp index 78aa4af500..35d78f7444 100644 --- a/src/common/Cryptography/CryptoRandom.cpp +++ b/src/common/Cryptography/CryptoRandom.cpp @@ -22,5 +22,5 @@ void Acore::Crypto::GetRandomBytes(uint8* buf, size_t len) { int result = RAND_bytes(buf, len); - ASSERT(result == 1); + ASSERT(result == 1, "Not enough randomness in OpenSSL's entropy pool. What in the world are you running on?"); } |