aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdf/kdf2
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-30 16:47:39 +0000
committerlloyd <[email protected]>2008-09-30 16:47:39 +0000
commit800897848c64ac575984a7b38e07111d97ec8670 (patch)
treec60918911bad7c053d829e99520346406be7e58f /src/kdf/kdf2
parent25e8861ab9fe4d2cdaf14d52273c88a1bf265855 (diff)
Remove warnings in KDF1, KDF2 copy constructors
Diffstat (limited to 'src/kdf/kdf2')
-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;