summaryrefslogtreecommitdiff
path: root/md5.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-28 18:53:03 +0000
committerrubidium <rubidium@openttd.org>2006-08-28 18:53:03 +0000
commit86dc219b4b668913b2deb90bf7ddfe0a479e3acd (patch)
tree9de9b15a15bde4d4e092c3abfde1fae7eb2d76f0 /md5.c
parentd8644d941d4205cb95890f84165c787872b36da5 (diff)
downloadopenttd-86dc219b4b668913b2deb90bf7ddfe0a479e3acd.tar.xz
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
Diffstat (limited to 'md5.c')
-rw-r--r--md5.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/md5.c b/md5.c
index 97d99dc61..59728e78a 100644
--- a/md5.c
+++ b/md5.c
@@ -57,7 +57,7 @@
#include "md5.h"
#include <string.h>
-#undef BYTE_ORDER /* 1 = big-endian, -1 = little-endian, 0 = unknown */
+#undef BYTE_ORDER /* 1 = big-endian, -1 = little-endian, 0 = unknown */
#if defined(TTD_BIG_ENDIAN)
# define BYTE_ORDER 1
#else
@@ -158,7 +158,7 @@ md5_process(md5_state_t *pms, const md5_byte_t *data /*[64]*/)
if (*((const md5_byte_t *)&w)) /* dynamic little-endian */
#endif
-#if BYTE_ORDER <= 0 /* little-endian */
+#if BYTE_ORDER <= 0 /* little-endian */
{
/*
* On little-endian machines, we can process properly aligned
@@ -175,9 +175,9 @@ md5_process(md5_state_t *pms, const md5_byte_t *data /*[64]*/)
}
#endif
#if BYTE_ORDER == 0
- else /* dynamic big-endian */
+ else /* dynamic big-endian */
#endif
-#if BYTE_ORDER >= 0 /* big-endian */
+#if BYTE_ORDER >= 0 /* big-endian */
{
/*
* On big-endian machines, we must arrange the bytes in the
@@ -187,9 +187,9 @@ md5_process(md5_state_t *pms, const md5_byte_t *data /*[64]*/)
int i;
# if BYTE_ORDER == 0
- X = xbuf; /* (dynamic only) */
+ X = xbuf; /* (dynamic only) */
# else
-# define xbuf X /* (static only) */
+# define xbuf X /* (static only) */
# endif
for (i = 0; i < 16; ++i, xp += 4)
xbuf[i] = xp[0] + (xp[1] << 8) + (xp[2] << 16) + (xp[3] << 24);