aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdf/kdf2/kdf2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kdf/kdf2/kdf2.h')
-rw-r--r--src/kdf/kdf2/kdf2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdf/kdf2/kdf2.h b/src/kdf/kdf2/kdf2.h
index 33db36ad4..844057ab3 100644
--- a/src/kdf/kdf2/kdf2.h
+++ b/src/kdf/kdf2/kdf2.h
@@ -21,7 +21,7 @@ class BOTAN_DLL KDF2 : public KDF
const byte[], u32bit) const;
KDF2(HashFunction* h) : hash(h) {}
- KDF2(const KDF2& other) : hash(other.hash->clone()) {}
+ KDF2(const KDF2& other) : KDF(), hash(other.hash->clone()) {}
~KDF2() { delete hash; }
private:
HashFunction* hash;