summaryrefslogtreecommitdiff
path: root/keyDerivation.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-07 15:07:11 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-07 15:07:11 +0000
commit28063bacec25253d5c67668932321c2044d1aa02 (patch)
tree951a787537b00877c4533dd19c75206e609853f3 /keyDerivation.cpp
parentserialisation of buffer und connection param (diff)
serialisation & makefile fix
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_;
+}