summaryrefslogtreecommitdiff
path: root/rijndael.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-02-28 08:14:22 +1100
committerDamien Miller <djm@mindrot.org>2001-02-28 08:14:22 +1100
commit4df5c76c2b217b3b487004731a13808ca6326bab (patch)
tree20ed66846f8101515d49666c0eb9263b81a1ddc7 /rijndael.c
parent6007f194839543b9f990c166fde9dfb615e94669 (diff)
- (djm) Detect endianness in configure and use it in rijndael.c. Fixes
"Bad packet length" bugs.
Diffstat (limited to 'rijndael.c')
-rw-r--r--rijndael.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rijndael.c b/rijndael.c
index aafc3c229..8b213db07 100644
--- a/rijndael.c
+++ b/rijndael.c
@@ -58,7 +58,7 @@ void gen_tabs __P((void));
58 58
59#define byte(x,n) ((u1byte)((x) >> (8 * n))) 59#define byte(x,n) ((u1byte)((x) >> (8 * n)))
60 60
61#if BYTE_ORDER != LITTLE_ENDIAN 61#ifdef WORDS_BIGENDIAN
62#define BYTE_SWAP 62#define BYTE_SWAP
63#endif 63#endif
64 64