diff options
author | Damien Miller <djm@mindrot.org> | 2001-02-28 08:14:22 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-02-28 08:14:22 +1100 |
commit | 4df5c76c2b217b3b487004731a13808ca6326bab (patch) | |
tree | 20ed66846f8101515d49666c0eb9263b81a1ddc7 /rijndael.c | |
parent | 6007f194839543b9f990c166fde9dfb615e94669 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ void gen_tabs __P((void)); #define byte(x,n) ((u1byte)((x) >> (8 * n))) -#if BYTE_ORDER != LITTLE_ENDIAN +#ifdef WORDS_BIGENDIAN #define BYTE_SWAP #endif |