From 36d129ac45e9c5121a8c832706f42bbc94a1e387 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Tue, 11 Dec 2007 15:47:35 +0000 Subject: fixed connection list memory leak kd and sequence window created by createConnection --- keyDerivation.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'keyDerivation.cpp') 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(); +} -- cgit v1.2.3