X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fmd5.c;h=43052b9e9bc28c8e8d28f90d84b722e7ecaca2f2;hb=3291ba387ddc1e079a63d628b0c1f7f84db6cd1f;hp=8bccf00480a26b7720250c872a1c4363474279cc;hpb=1571781022499a9d0c32d249f89945d034d1cbff;p=libucw.git diff --git a/lib/md5.c b/lib/md5.c index 8bccf004..43052b9e 100644 --- a/lib/md5.c +++ b/lib/md5.c @@ -20,7 +20,7 @@ #include /* for memcpy() */ -#ifndef HIGHFIRST +#ifdef CPU_LITTLE_ENDIAN #define byteReverse(buf, len) /* Nothing */ #else void byteReverse(unsigned char *buf, unsigned longs); @@ -104,7 +104,7 @@ void MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len) } /* - * Final wrapup - pad to 64-byte boundary with the bit pattern + * Final wrapup - pad to 64-byte boundary with the bit pattern * 1 0* (64-bit count of bits processed, MSB-first) */ void MD5Final(unsigned char digest[16], struct MD5Context *ctx)