summaryrefslogtreecommitdiff
path: root/keyDerivation.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-11 09:09:48 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-11 09:09:48 +0000
commit2c55bc987c93a1857e3cdaf8c8f1cea60483ab1e (patch)
tree4fe9123029c7ec61a18102873d5b753fbd4700e3 /keyDerivation.cpp
parentsome cleanups (diff)
added syncbuffer
Diffstat (limited to 'keyDerivation.cpp')
-rw-r--r--keyDerivation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyDerivation.cpp b/keyDerivation.cpp
index 2c8a646..b74f459 100644
--- a/keyDerivation.cpp
+++ b/keyDerivation.cpp
@@ -82,7 +82,7 @@ void KeyDerivation::init(Buffer key, Buffer salt)
return;
}
- salt_ = salt;
+ salt_ = SyncBuffer(salt);
initialized_ = true;
}