]> andersk Git - openssh.git/commitdiff
- (djm) Detect endianness in configure and use it in rijndael.c. Fixes
authordjm <djm>
Tue, 27 Feb 2001 21:14:22 +0000 (21:14 +0000)
committerdjm <djm>
Tue, 27 Feb 2001 21:14:22 +0000 (21:14 +0000)
   "Bad packet length" bugs.

ChangeLog
configure.in
rijndael.c

index c1bc20ac7465f844793634dac45c7789b0b534d3..d3aa2a6de07644c5e2b49a29760191488e8a085d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20010228
+ - (djm) Detect endianness in configure and use it in rijndael.c. Fixes
+   "Bad packet length" bugs.
+
 20010227
  - (bal) Applied shutdown() patch for sftp.c by  Corinna Vinschen 
    <vinschen@redhat.com>
index 064450b49891ea5b3ae147b3cdd664fb7b0473f5..ac6dd8b8bd988f6c0d4a55d3856b7821a8f0a6a7 100644 (file)
@@ -5,6 +5,7 @@ AC_INIT(ssh.c)
 AC_CONFIG_HEADER(config.h)
 AC_PROG_CC
 AC_CANONICAL_HOST
+AC_C_BIGENDIAN
 
 # Checks for programs.
 AC_PROG_CPP
index aafc3c22952c88f826a6e38efcc9d07320ecc124..8b213db075e198eff33594a98ed196ea28014a00 100644 (file)
@@ -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
 
This page took 0.121712 seconds and 5 git commands to generate.