aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/entropy
diff options
context:
space:
mode:
authorDaniel Seither <[email protected]>2015-07-30 16:44:33 +0200
committerDaniel Seither <[email protected]>2015-07-30 16:44:33 +0200
commit025a838b473a3b686ce583f9b73bd151fe95df29 (patch)
tree473a076d6ccf4ced0c0bbe23087724546950eef2 /src/lib/entropy
parent8e8f1d468c8e1d842677488423e6ccd99a1c79f0 (diff)
entropy: Add missing overrides
Diffstat (limited to 'src/lib/entropy')
-rw-r--r--src/lib/entropy/beos_stats/es_beos.h4
-rw-r--r--src/lib/entropy/cryptoapi_rng/es_capi.h4
-rw-r--r--src/lib/entropy/dev_random/dev_random.h4
-rw-r--r--src/lib/entropy/egd/es_egd.h4
-rw-r--r--src/lib/entropy/hres_timer/hres_timer.h4
-rw-r--r--src/lib/entropy/proc_walk/proc_walk.cpp2
-rw-r--r--src/lib/entropy/proc_walk/proc_walk.h4
-rw-r--r--src/lib/entropy/rdrand/rdrand.h4
-rw-r--r--src/lib/entropy/unix_procs/unix_procs.h6
-rw-r--r--src/lib/entropy/win32_stats/es_win32.h4
10 files changed, 20 insertions, 20 deletions
diff --git a/src/lib/entropy/beos_stats/es_beos.h b/src/lib/entropy/beos_stats/es_beos.h
index 331ae3bc0..2565b9180 100644
--- a/src/lib/entropy/beos_stats/es_beos.h
+++ b/src/lib/entropy/beos_stats/es_beos.h
@@ -18,9 +18,9 @@ namespace Botan {
class BeOS_EntropySource : public EntropySource
{
private:
- std::string name() const { return "BeOS Statistics"; }
+ std::string name() const override { return "BeOS Statistics"; }
- void poll(Entropy_Accumulator& accum);
+ void poll(Entropy_Accumulator& accum) override;
};
}
diff --git a/src/lib/entropy/cryptoapi_rng/es_capi.h b/src/lib/entropy/cryptoapi_rng/es_capi.h
index 34ab2e22d..81a5003b2 100644
--- a/src/lib/entropy/cryptoapi_rng/es_capi.h
+++ b/src/lib/entropy/cryptoapi_rng/es_capi.h
@@ -19,9 +19,9 @@ namespace Botan {
class Win32_CAPI_EntropySource : public EntropySource
{
public:
- std::string name() const { return "Win32 CryptoGenRandom"; }
+ std::string name() const override { return "Win32 CryptoGenRandom"; }
- void poll(Entropy_Accumulator& accum);
+ void poll(Entropy_Accumulator& accum) override;
/**
* Win32_Capi_Entropysource Constructor
diff --git a/src/lib/entropy/dev_random/dev_random.h b/src/lib/entropy/dev_random/dev_random.h
index 1df616d56..0d0c2df60 100644
--- a/src/lib/entropy/dev_random/dev_random.h
+++ b/src/lib/entropy/dev_random/dev_random.h
@@ -20,9 +20,9 @@ namespace Botan {
class Device_EntropySource : public EntropySource
{
public:
- std::string name() const { return "RNG Device Reader"; }
+ std::string name() const override { return "RNG Device Reader"; }
- void poll(Entropy_Accumulator& accum);
+ void poll(Entropy_Accumulator& accum) override;
Device_EntropySource(const std::vector<std::string>& fsnames);
~Device_EntropySource();
diff --git a/src/lib/entropy/egd/es_egd.h b/src/lib/entropy/egd/es_egd.h
index 0c9caec66..7f7df1133 100644
--- a/src/lib/entropy/egd/es_egd.h
+++ b/src/lib/entropy/egd/es_egd.h
@@ -21,9 +21,9 @@ namespace Botan {
class EGD_EntropySource : public EntropySource
{
public:
- std::string name() const { return "EGD/PRNGD"; }
+ std::string name() const override { return "EGD/PRNGD"; }
- void poll(Entropy_Accumulator& accum);
+ void poll(Entropy_Accumulator& accum) override;
EGD_EntropySource(const std::vector<std::string>&);
~EGD_EntropySource();
diff --git a/src/lib/entropy/hres_timer/hres_timer.h b/src/lib/entropy/hres_timer/hres_timer.h
index 762acadbf..b5b92fd97 100644
--- a/src/lib/entropy/hres_timer/hres_timer.h
+++ b/src/lib/entropy/hres_timer/hres_timer.h
@@ -21,8 +21,8 @@ namespace Botan {
class High_Resolution_Timestamp : public EntropySource
{
public:
- std::string name() const { return "High Resolution Timestamp"; }
- void poll(Entropy_Accumulator& accum);
+ std::string name() const override { return "High Resolution Timestamp"; }
+ void poll(Entropy_Accumulator& accum) override;
};
}
diff --git a/src/lib/entropy/proc_walk/proc_walk.cpp b/src/lib/entropy/proc_walk/proc_walk.cpp
index 217ed5a52..7fbea678e 100644
--- a/src/lib/entropy/proc_walk/proc_walk.cpp
+++ b/src/lib/entropy/proc_walk/proc_walk.cpp
@@ -41,7 +41,7 @@ class Directory_Walker : public File_Descriptor_Source
::closedir(m_cur_dir.first);
}
- int next_fd();
+ int next_fd() override;
private:
std::pair<struct dirent*, std::string> get_next_dirent();
diff --git a/src/lib/entropy/proc_walk/proc_walk.h b/src/lib/entropy/proc_walk/proc_walk.h
index 939feb112..ec56f9e2d 100644
--- a/src/lib/entropy/proc_walk/proc_walk.h
+++ b/src/lib/entropy/proc_walk/proc_walk.h
@@ -26,9 +26,9 @@ class File_Descriptor_Source
class ProcWalking_EntropySource : public EntropySource
{
public:
- std::string name() const { return "Proc Walker"; }
+ std::string name() const override { return "Proc Walker"; }
- void poll(Entropy_Accumulator& accum);
+ void poll(Entropy_Accumulator& accum) override;
ProcWalking_EntropySource(const std::string& root_dir) :
m_path(root_dir), m_dir(nullptr) {}
diff --git a/src/lib/entropy/rdrand/rdrand.h b/src/lib/entropy/rdrand/rdrand.h
index bc02ef93e..9ff6e557f 100644
--- a/src/lib/entropy/rdrand/rdrand.h
+++ b/src/lib/entropy/rdrand/rdrand.h
@@ -19,8 +19,8 @@ namespace Botan {
class Intel_Rdrand : public EntropySource
{
public:
- std::string name() const { return "Intel Rdrand"; }
- void poll(Entropy_Accumulator& accum);
+ std::string name() const override { return "Intel Rdrand"; }
+ void poll(Entropy_Accumulator& accum) override;
};
}
diff --git a/src/lib/entropy/unix_procs/unix_procs.h b/src/lib/entropy/unix_procs/unix_procs.h
index cf6a8bb7d..808d34221 100644
--- a/src/lib/entropy/unix_procs/unix_procs.h
+++ b/src/lib/entropy/unix_procs/unix_procs.h
@@ -23,7 +23,7 @@ namespace Botan {
class Unix_EntropySource : public EntropySource
{
public:
- std::string name() const { return "Unix Process Runner"; }
+ std::string name() const override { return "Unix Process Runner"; }
void poll(Entropy_Accumulator& accum) override;
@@ -81,9 +81,9 @@ class Unix_EntropySource : public EntropySource
class UnixProcessInfo_EntropySource : public EntropySource
{
public:
- std::string name() const { return "Unix Process Info"; }
+ std::string name() const override { return "Unix Process Info"; }
- void poll(Entropy_Accumulator& accum);
+ void poll(Entropy_Accumulator& accum) override;
};
}
diff --git a/src/lib/entropy/win32_stats/es_win32.h b/src/lib/entropy/win32_stats/es_win32.h
index 4809abeee..98bfb0e36 100644
--- a/src/lib/entropy/win32_stats/es_win32.h
+++ b/src/lib/entropy/win32_stats/es_win32.h
@@ -18,8 +18,8 @@ namespace Botan {
class Win32_EntropySource : public EntropySource
{
public:
- std::string name() const { return "Win32 Statistics"; }
- void poll(Entropy_Accumulator& accum);
+ std::string name() const override { return "Win32 Statistics"; }
+ void poll(Entropy_Accumulator& accum) override;
};
}