From ce5dabbf7cf938825e6ed50f11ec9b69ba11a4b5 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 22 Jan 2004 15:31:46 +0000 Subject: [PATCH] MD5 didn't work on big-endian machines, because it tested the wrong endianity switch. --- lib/md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/md5.c b/lib/md5.c index 8bccf004..a0e50ab8 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); -- 2.39.2