Update comments

pull/877/head
Jeffrey Walton 2019-08-12 06:32:21 -04:00
parent ea08de08d6
commit 7606c35fda
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 3 deletions

View File

@ -432,9 +432,7 @@ bool Test_RandomNumberGenerator(RandomNumberGenerator& prng, bool drain=false)
// Use a block that is zero'd to catch bad RNG's that appear [somewhat]
// OK due to entropy in the heap. We found Debian HURD was failing, but
// not that badly. For example, we would see "100000 generated bytes
// compressed to 98749 bytes by DEFLATE". Once we zero'd the block, the
// message changed to "100000 generated bytes compressed to 98000 bytes
// by DEFLATE".
// compressed to 98749 bytes by DEFLATE".
SecByteBlock block(NULLPTR, GENERATE_SIZE);
RandomNumberSource(prng, GENERATE_SIZE, true, new ArraySink(block, GENERATE_SIZE));