aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pbkdf
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pbkdf')
-rw-r--r--src/lib/pbkdf/pbkdf.cpp2
-rw-r--r--src/lib/pbkdf/pbkdf.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/pbkdf/pbkdf.cpp b/src/lib/pbkdf/pbkdf.cpp
index 8f72a9180..a60c93d5c 100644
--- a/src/lib/pbkdf/pbkdf.cpp
+++ b/src/lib/pbkdf/pbkdf.cpp
@@ -18,8 +18,6 @@
namespace Botan {
-PBKDF::~PBKDF() {}
-
std::unique_ptr<PBKDF> PBKDF::create(const std::string& algo_spec,
const std::string& provider)
{
diff --git a/src/lib/pbkdf/pbkdf.h b/src/lib/pbkdf/pbkdf.h
index 95cf4da02..0f2feb751 100644
--- a/src/lib/pbkdf/pbkdf.h
+++ b/src/lib/pbkdf/pbkdf.h
@@ -47,7 +47,7 @@ class BOTAN_DLL PBKDF
*/
virtual std::string name() const = 0;
- virtual ~PBKDF();
+ virtual ~PBKDF() = default;
/**
* Derive a key from a passphrase for a number of iterations