]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
fixed big endian bug in md5 hasher
authorMartin Willi <martin@strongswan.org>
Wed, 28 Feb 2007 07:20:16 +0000 (07:20 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 28 Feb 2007 07:20:16 +0000 (07:20 -0000)
src/libstrongswan/crypto/hashers/md5_hasher.c

index 5330676d4246e6407c5f2df116a9811ab891f3c8..d4dde3693a9a95125d8b0adf18dcd3048bc5831e 100644 (file)
@@ -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;