aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/rng/rng.h
diff options
context:
space:
mode:
authorDaniel Seither <[email protected]>2015-07-30 19:16:22 +0200
committerDaniel Seither <[email protected]>2015-07-30 19:16:22 +0200
commitd2cda3e74e79b2f19086d943918fdb66699f28d7 (patch)
treecc5f1a9c94481b8f2917006fcda4b93c104148c0 /src/lib/rng/rng.h
parentf2edce7bf7fd2132e1a153093df4d47d5f57efcc (diff)
rng: Add missing overrides
Diffstat (limited to 'src/lib/rng/rng.h')
-rw-r--r--src/lib/rng/rng.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/rng/rng.h b/src/lib/rng/rng.h
index 2abd11532..b1f78f75d 100644
--- a/src/lib/rng/rng.h
+++ b/src/lib/rng/rng.h
@@ -120,37 +120,37 @@ class BOTAN_DLL Null_RNG : public RandomNumberGenerator
class BOTAN_DLL Serialized_RNG : public RandomNumberGenerator
{
public:
- void randomize(byte out[], size_t len)
+ void randomize(byte out[], size_t len) override
{
std::lock_guard<std::mutex> lock(m_mutex);
m_rng->randomize(out, len);
}
- bool is_seeded() const
+ bool is_seeded() const override
{
std::lock_guard<std::mutex> lock(m_mutex);
return m_rng->is_seeded();
}
- void clear()
+ void clear() override
{
std::lock_guard<std::mutex> lock(m_mutex);
m_rng->clear();
}
- std::string name() const
+ std::string name() const override
{
std::lock_guard<std::mutex> lock(m_mutex);
return m_rng->name();
}
- void reseed(size_t poll_bits)
+ void reseed(size_t poll_bits) override
{
std::lock_guard<std::mutex> lock(m_mutex);
m_rng->reseed(poll_bits);
}
- void add_entropy(const byte in[], size_t len)
+ void add_entropy(const byte in[], size_t len) override
{
std::lock_guard<std::mutex> lock(m_mutex);
m_rng->add_entropy(in, len);