# HG changeset patch # User lu_zero # Date 1151918173 0 # Node ID c6d76c0804276e4f5de0eb8d251a7b187473d184 # Parent 65245022a46ca3ff14df4d1019a086bb90952b9a big endian fix diff -r 65245022a46c -r c6d76c080427 md5.c --- a/md5.c Sun Jul 02 20:20:28 2006 +0000 +++ b/md5.c Mon Jul 03 09:16:13 2006 +0000 @@ -69,7 +69,11 @@ }\ a = b + (( a << t ) | ( a >> (32 - t) )); +#ifdef WORDS_BIGENDIAN +static void body(uint32_t ABCD[4], uint32_t X[16]){ +#else static void body(uint32_t ABCD[4], const uint32_t X[16]){ +#endif int t; int i attribute_unused; unsigned int a= ABCD[3];