summaryrefslogtreecommitdiff
path: root/keyDerivation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'keyDerivation.cpp')
-rw-r--r--keyDerivation.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/keyDerivation.cpp b/keyDerivation.cpp
index a171244..5b7b739 100644
--- a/keyDerivation.cpp
+++ b/keyDerivation.cpp
@@ -142,3 +142,9 @@ void KeyDerivation::clear()
gcry_cipher_close( cipher_ );
}
+template<class Archive>
+void KeyDerivation::serialize(Archive & ar, const unsigned int version)
+{
+ ar & ld_kdr_;
+ ar & salt_;
+}