diff options
author | lloyd <[email protected]> | 2008-04-21 14:45:04 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-04-21 14:45:04 +0000 |
commit | 81edcee29ae2daabb385b41a5518e69ec1a8043b (patch) | |
tree | 735e8f5eb7b5450d9140ce96338fbe5c370ea6d6 | |
parent | 24ccd95150596b992d91915c5aeaaf020a41a7d6 (diff) |
Make RandomNumberGenerator::is_seeded pure virtual
-rw-r--r-- | include/base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/base.h b/include/base.h index 2ad71af70..c766df0e0 100644 --- a/include/base.h +++ b/include/base.h @@ -156,7 +156,7 @@ class RandomNumberGenerator { public: virtual void randomize(byte[], u32bit) throw(PRNG_Unseeded) = 0; - virtual bool is_seeded() const { return true; } + virtual bool is_seeded() const = 0; virtual void clear() throw() {}; void add_entropy(const byte[], u32bit); |