X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=fwcutter%2Fmd5.c;h=c27f0e190e0a6cbf845ae6b7d4ba2552e29886d2;hb=ec376b3c80a49f2e1aae1b460994fe0e4cd534e7;hp=3b90942c7d071d9f8478ec6bcafa9b9eaac26bf0;hpb=b9e19faa25ad9e1b24f08dc77267760df1b98504;p=b43-tools.git diff --git a/fwcutter/md5.c b/fwcutter/md5.c index 3b90942..c27f0e1 100644 --- a/fwcutter/md5.c +++ b/fwcutter/md5.c @@ -24,10 +24,9 @@ #include /* for memcpy() */ #include "md5.h" +/* This function does the Right Thing (tm) on LittleEndian and BigEndian. */ static void byteReverse(unsigned char *buf, unsigned longs) { -#if __BYTE_ORDER == __LITTLE_ENDIAN -/* we need the value in big-endian */ uint32_t t; do { @@ -36,7 +35,6 @@ static void byteReverse(unsigned char *buf, unsigned longs) *(uint32_t *) buf = t; buf += 4; } while (--longs); -#endif } /* The four core functions - F1 is optimized somewhat */