blob: d98141e65b8ec598fb26ffd7112ce9028b20f501 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -Nura aria-1.0.0/src/md5.c aria-1.0.0.bigendian/src/md5.c
--- aria-1.0.0/src/md5.c 2001-05-19 15:38:59.000000000 -0300
+++ aria-1.0.0.bigendian/src/md5.c 2005-07-04 12:33:29.049837804 -0300
@@ -291,8 +291,8 @@
p = hd->buf;
#ifdef BIG_ENDIAN_HOST
- #define X(a) do { *p++ = hd->##a ; *p++ = hd->##a >> 8; \
- *p++ = hd->##a >> 16; *p++ = hd->##a >> 24; } while(0)
+ #define X(a) do { *p++ = hd->a ; *p++ = hd->a >> 8; \
+ *p++ = hd->a >> 16; *p++ = hd->a >> 24; } while(0)
#else /* little endian */
/*#define X(a) do { *(u32*)p = hd->##a ; p += 4; } while(0)*/
/* Unixware's cpp doesn't like the above construct so we do it his way:
|