diff options
author | lloyd <[email protected]> | 2009-04-16 22:01:36 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-04-16 22:01:36 +0000 |
commit | f149841cd24851add6ea9e8680a0f65f00bf1652 (patch) | |
tree | 195dcc4dbddeb7fcb962c5575d842560baa52e40 /src/rng/auto_rng/auto_rng.h | |
parent | 96d6a1718dad2c645c372dee5bbf4799922300d6 (diff) |
Make AutoSeeded_RNG::reseed's parameter default to 256 for compatability
with the version in earlier releases. Rickard Bondesson pointed out that
this was a problem on the mailing list.
Diffstat (limited to 'src/rng/auto_rng/auto_rng.h')
-rw-r--r-- | src/rng/auto_rng/auto_rng.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rng/auto_rng/auto_rng.h b/src/rng/auto_rng/auto_rng.h index 021c724fb..f18f8e5cd 100644 --- a/src/rng/auto_rng/auto_rng.h +++ b/src/rng/auto_rng/auto_rng.h @@ -27,7 +27,7 @@ class BOTAN_DLL AutoSeeded_RNG : public RandomNumberGenerator std::string name() const { return "AutoSeeded(" + rng->name() + ")"; } - void reseed(u32bit poll_bits) { rng->reseed(poll_bits); } + void reseed(u32bit poll_bits = 256) { rng->reseed(poll_bits); } void add_entropy_source(EntropySource* es) { rng->add_entropy_source(es); } void add_entropy(const byte in[], u32bit len) |