aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/md4/md4_hasher.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/plugins/md4/md4_hasher.c')
-rw-r--r--src/libstrongswan/plugins/md4/md4_hasher.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/md4/md4_hasher.c b/src/libstrongswan/plugins/md4/md4_hasher.c
index 6a31017c2..0d080061f 100644
--- a/src/libstrongswan/plugins/md4/md4_hasher.c
+++ b/src/libstrongswan/plugins/md4/md4_hasher.c
@@ -268,7 +268,7 @@ static void MD4Final (private_md4_hasher_t *this, u_int8_t digest[16])
-METHOD(hasher_t, get_hash, void,
+METHOD(hasher_t, get_hash, bool,
private_md4_hasher_t *this, chunk_t chunk, u_int8_t *buffer)
{
MD4Update(this, chunk.ptr, chunk.len);
@@ -277,6 +277,7 @@ METHOD(hasher_t, get_hash, void,
MD4Final(this, buffer);
this->public.hasher_interface.reset(&(this->public.hasher_interface));
}
+ return TRUE;
}
METHOD(hasher_t, allocate_hash, void,