diff options
author | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-09 19:56:24 +0000 |
---|---|---|
committer | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-09 19:56:24 +0000 |
commit | 78cfba33568916dc861b37b771c2a261f67fffdd (patch) | |
tree | e7c25318f5a09905d04fb23447727da1e72a9074 /lib/md5.c | |
parent | 5e4383cc008567bbb590031b920482e6f3a1dce9 (diff) | |
parent | cc2dd9280c4456586080d1cf4537d26c02fa9a36 (diff) | |
download | quagga-78cfba33568916dc861b37b771c2a261f67fffdd.tar.bz2 quagga-78cfba33568916dc861b37b771c2a261f67fffdd.tar.xz |
Merge remote branch 'quagga/master' of /git/quagga.euro-ix into pthreads
Diffstat (limited to 'lib/md5.c')
-rw-r--r-- | lib/md5.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -232,7 +232,7 @@ static void md5_calc(const uint8_t *b64, md5_ctxt * ctxt) const uint32_t *X = (const uint32_t *)b64; #elif (BYTE_ORDER == BIG_ENDIAN) uint32_t X[16]; -#endif + if (BYTE_ORDER == BIG_ENDIAN) { /* 4 byte words */ @@ -255,6 +255,7 @@ static void md5_calc(const uint8_t *b64, md5_ctxt * ctxt) y[56] = b64[59]; y[57] = b64[58]; y[58] = b64[57]; y[59] = b64[56]; y[60] = b64[63]; y[61] = b64[62]; y[62] = b64[61]; y[63] = b64[60]; } +#endif ROUND1(A, B, C, D, 0, Sa, 1); ROUND1(D, A, B, C, 1, Sb, 2); ROUND1(C, D, A, B, 2, Sc, 3); ROUND1(B, C, D, A, 3, Sd, 4); |