diff options
author | Daniel Seither <[email protected]> | 2015-07-30 19:16:22 +0200 |
---|---|---|
committer | Daniel Seither <[email protected]> | 2015-07-30 19:16:22 +0200 |
commit | d2cda3e74e79b2f19086d943918fdb66699f28d7 (patch) | |
tree | cc5f1a9c94481b8f2917006fcda4b93c104148c0 /src/lib/rng/system_rng/system_rng.cpp | |
parent | f2edce7bf7fd2132e1a153093df4d47d5f57efcc (diff) |
rng: Add missing overrides
Diffstat (limited to 'src/lib/rng/system_rng/system_rng.cpp')
-rw-r--r-- | src/lib/rng/system_rng/system_rng.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/rng/system_rng/system_rng.cpp b/src/lib/rng/system_rng/system_rng.cpp index 59a8b014f..1ab80669b 100644 --- a/src/lib/rng/system_rng/system_rng.cpp +++ b/src/lib/rng/system_rng/system_rng.cpp @@ -34,14 +34,14 @@ class System_RNG : public RandomNumberGenerator System_RNG(); ~System_RNG(); - void randomize(byte buf[], size_t len); + void randomize(byte buf[], size_t len) override; - bool is_seeded() const { return true; } - void clear() {} - std::string name() const { return "system"; } + bool is_seeded() const override { return true; } + void clear() override {} + std::string name() const override { return "system"; } - void reseed(size_t) {} - void add_entropy(const byte[], size_t) {} + void reseed(size_t) override {} + void add_entropy(const byte[], size_t) override {} private: #if defined(BOTAN_TARGET_OS_HAS_CRYPTGENRANDOM) |