Update comments
parent
ea08de08d6
commit
7606c35fda
|
|
@ -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]
|
// 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
|
// 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
|
// not that badly. For example, we would see "100000 generated bytes
|
||||||
// compressed to 98749 bytes by DEFLATE". Once we zero'd the block, the
|
// compressed to 98749 bytes by DEFLATE".
|
||||||
// message changed to "100000 generated bytes compressed to 98000 bytes
|
|
||||||
// by DEFLATE".
|
|
||||||
SecByteBlock block(NULLPTR, GENERATE_SIZE);
|
SecByteBlock block(NULLPTR, GENERATE_SIZE);
|
||||||
RandomNumberSource(prng, GENERATE_SIZE, true, new ArraySink(block, GENERATE_SIZE));
|
RandomNumberSource(prng, GENERATE_SIZE, true, new ArraySink(block, GENERATE_SIZE));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue