aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-02-28 07:20:16 +0000
committerMartin Willi <martin@strongswan.org>2007-02-28 07:20:16 +0000
commita7a5e834e318d0582b6db979b63a5739c0a8244f (patch)
treea7c2f160596617022c3792e41113b792acf63f80
parente6b1066edcfb8f5e23788b21ed4fa452034f9233 (diff)
downloadstrongswan-a7a5e834e318d0582b6db979b63a5739c0a8244f.tar.bz2
strongswan-a7a5e834e318d0582b6db979b63a5739c0a8244f.tar.xz
fixed big endian bug in md5 hasher
-rw-r--r--src/libstrongswan/crypto/hashers/md5_hasher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/crypto/hashers/md5_hasher.c b/src/libstrongswan/crypto/hashers/md5_hasher.c
index 5330676d4..d4dde3693 100644
--- a/src/libstrongswan/crypto/hashers/md5_hasher.c
+++ b/src/libstrongswan/crypto/hashers/md5_hasher.c
@@ -120,7 +120,7 @@ struct private_md5_hasher_t {
/* Encodes input (u_int32_t) into output (u_int8_t). Assumes len is
* a multiple of 4.
*/
-static void Encode (u_int8_t *output, u_int32_t *input, size_t *len)
+static void Encode (u_int8_t *output, u_int32_t *input, size_t len)
{
size_t i, j;