diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-08-12 06:32:21 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-08-12 06:32:21 -0400 |
commit | 7606c35fdad64aee1372c97428d4596b3edb3621 (patch) | |
tree | 803f695350345cade98390a3cb08072baa804c8d /validat3.cpp | |
parent | ea08de08d6cd8f00fd6b0d2c6589ae63a5b6d9f2 (diff) | |
download | cryptopp-git-7606c35fdad64aee1372c97428d4596b3edb3621.tar.gz |
Update comments
Diffstat (limited to 'validat3.cpp')
-rw-r--r-- | validat3.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/validat3.cpp b/validat3.cpp index 819feaa0..99cc093a 100644 --- a/validat3.cpp +++ b/validat3.cpp @@ -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));
|