aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/prov
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-03 09:57:04 -0400
committerJack Lloyd <[email protected]>2017-10-03 09:57:04 -0400
commit26517eb98af4c3bb1faf38653ab55ae0956578eb (patch)
tree61ebd8ee9568369a4f2e6ff1806d47213f20032d /src/lib/prov
parent698f78182485587b6aa7773a43beac9033064e89 (diff)
Avoid empty methods, use =default or add a comment
Sonar
Diffstat (limited to 'src/lib/prov')
-rw-r--r--src/lib/prov/pkcs11/p11_randomgenerator.h3
-rw-r--r--src/lib/prov/tpm/tpm.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/prov/pkcs11/p11_randomgenerator.h b/src/lib/prov/pkcs11/p11_randomgenerator.h
index 8a74abf52..cab9b77c4 100644
--- a/src/lib/prov/pkcs11/p11_randomgenerator.h
+++ b/src/lib/prov/pkcs11/p11_randomgenerator.h
@@ -28,9 +28,6 @@ class BOTAN_PUBLIC_API(2,0) PKCS11_RNG final : public Hardware_RNG
/// Initialize the RNG with the PKCS#11 session that provides access to the cryptoki functions
explicit PKCS11_RNG(Session& session);
- void clear() override
- {}
-
std::string name() const override
{
return "PKCS11_RNG";
diff --git a/src/lib/prov/tpm/tpm.h b/src/lib/prov/tpm/tpm.h
index fb4f027d5..802634056 100644
--- a/src/lib/prov/tpm/tpm.h
+++ b/src/lib/prov/tpm/tpm.h
@@ -92,8 +92,6 @@ class BOTAN_PUBLIC_API(2,0) TPM_RNG final : public Hardware_RNG
bool is_seeded() const override { return true; }
- void clear() override {}
-
private:
TPM_Context& m_ctx;
};