summaryrefslogtreecommitdiff
path: root/keyDerivation.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-11 15:47:35 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-11 15:47:35 +0000
commit36d129ac45e9c5121a8c832706f42bbc94a1e387 (patch)
tree6670251ddefc8f4667bf01747a4b947548407c51 /keyDerivation.cpp
parentrecever gets seq and sid now (diff)
fixed connection list
memory leak kd and sequence window created by createConnection
Diffstat (limited to 'keyDerivation.cpp')
-rw-r--r--keyDerivation.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyDerivation.cpp b/keyDerivation.cpp
index c9db305..afe20f6 100644
--- a/keyDerivation.cpp
+++ b/keyDerivation.cpp
@@ -149,3 +149,8 @@ void KeyDerivation::clear()
Lock lock(mutex_);
gcry_cipher_close( cipher_ );
}
+
+u_int32_t KeyDerivation::bufferGetLength() const
+{
+ return salt_.getLength();
+}