aboutsummaryrefslogtreecommitdiffstats
path: root/src/s2k/pbkdf1
diff options
context:
space:
mode:
Diffstat (limited to 'src/s2k/pbkdf1')
-rw-r--r--src/s2k/pbkdf1/pbkdf1.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/s2k/pbkdf1/pbkdf1.h b/src/s2k/pbkdf1/pbkdf1.h
index cf439efd8..c0508d127 100644
--- a/src/s2k/pbkdf1/pbkdf1.h
+++ b/src/s2k/pbkdf1/pbkdf1.h
@@ -33,6 +33,10 @@ class BOTAN_DLL PKCS5_PBKDF1 : public S2K
*/
PKCS5_PBKDF1(HashFunction* hash_in) : hash(hash_in) {}
+ /**
+ * Copy constructor
+ * @param other the object to copy
+ */
PKCS5_PBKDF1(const PKCS5_PBKDF1& other) :
S2K(), hash(other.hash->clone()) {}