summaryrefslogtreecommitdiff
path: root/keyDerivation.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-26 11:57:10 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-26 11:57:10 +0000
commit38a06aa502da91cb17a960b462d639b4c7cf7726 (patch)
treecab2a37dccebf11b5649d18da16bb6cf2b6c4fd1 /keyDerivation.h
parentadded keygeneration at hmac calculation (diff)
added some Locks
Diffstat (limited to 'keyDerivation.h')
-rw-r--r--keyDerivation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyDerivation.h b/keyDerivation.h
index 56ca748..531d441 100644
--- a/keyDerivation.h
+++ b/keyDerivation.h
@@ -66,6 +66,7 @@ private:
template<class Archive>
void serialize(Archive & ar, const unsigned int version)
{
+ Lock lock(mutex_);
ar & ld_kdr_;
ar & salt_;
}