diff options
-rw-r--r-- | src/kdf/kdf1/kdf1.h | 2 | ||||
-rw-r--r-- | src/kdf/kdf2/kdf2.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/kdf/kdf1/kdf1.h b/src/kdf/kdf1/kdf1.h index 6a4b0f113..1c1fd7839 100644 --- a/src/kdf/kdf1/kdf1.h +++ b/src/kdf/kdf1/kdf1.h @@ -22,7 +22,7 @@ class BOTAN_DLL KDF1 : public KDF const byte P[], u32bit P_len) const; KDF1(HashFunction* h) : hash(h) {} - KDF1(const KDF1& other) : hash(other.hash->clone()) {} + KDF1(const KDF1& other) : KDF(), hash(other.hash->clone()) {} ~KDF1() { delete hash; } private: 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; |