diff options
Diffstat (limited to 'Source/kwsys/MD5.c')
-rw-r--r-- | Source/kwsys/MD5.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/kwsys/MD5.c b/Source/kwsys/MD5.c index 3188fb6..97cf9ba 100644 --- a/Source/kwsys/MD5.c +++ b/Source/kwsys/MD5.c @@ -6,7 +6,7 @@ /* Work-around CMake dependency scanning limitation. This must duplicate the above list of headers. */ #if 0 -#include "MD5.h.in" +# include "MD5.h.in" #endif #include <stddef.h> /* size_t */ @@ -19,8 +19,8 @@ implementation file. */ #if defined(__clang__) && !defined(__INTEL_COMPILER) -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wcast-align" +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wcast-align" #endif /* @@ -98,9 +98,9 @@ typedef struct md5_state_s #undef BYTE_ORDER /* 1 = big-endian, -1 = little-endian, 0 = unknown */ #ifdef ARCH_IS_BIG_ENDIAN -#define BYTE_ORDER (ARCH_IS_BIG_ENDIAN ? 1 : -1) +# define BYTE_ORDER (ARCH_IS_BIG_ENDIAN ? 1 : -1) #else -#define BYTE_ORDER 0 +# define BYTE_ORDER 0 #endif #define T_MASK ((md5_word_t)~0) @@ -222,11 +222,11 @@ static void md5_process(md5_state_t* pms, const md5_byte_t* data /*[64]*/) const md5_byte_t* xp = data; int i; -#if BYTE_ORDER == 0 +# if BYTE_ORDER == 0 X = xbuf; /* (dynamic only) */ -#else -#define xbuf X /* (static only) */ -#endif +# else +# define xbuf X /* (static only) */ +# endif for (i = 0; i < 16; ++i, xp += 4) xbuf[i] = (md5_word_t)(xp[0] + (xp[1] << 8) + (xp[2] << 16) + (xp[3] << 24)); @@ -420,7 +420,7 @@ static void md5_finish(md5_state_t* pms, md5_byte_t digest[16]) } #if defined(__clang__) && !defined(__INTEL_COMPILER) -#pragma clang diagnostic pop +# pragma clang diagnostic pop #endif /* Wrap up the MD5 state in our opaque structure. */ |