Bad packet length in 2.5.1 with rijndael (fwd)
Mark D. Baushke
mdb at juniper.net
Wed Feb 28 09:44:26 EST 2001
The patch works for me.
-- Mark
Note: I needed to upgrad autoreconf from version 2.12 to 2.13).
>Date: Wed, 28 Feb 2001 08:12:34 +1100 (EST)
>From: Damien Miller <djm at mindrot.org>
>
>On Tue, 27 Feb 2001, Tim Rice wrote:
>
>> Would the AC_C_BIGENDIAN macro at configure time help?
>
>That is exactly the test that I am looking for :)
>
>Can affected people try this patch (you will need to autoreconf):
>
>Index: configure.in
>===================================================================
>RCS file: /var/cvs/openssh/configure.in,v
>retrieving revision 1.256
>diff -u -r1.256 configure.in
>--- configure.in 2001/02/27 03:42:48 1.256
>+++ configure.in 2001/02/27 21:11:00
>@@ -5,6 +5,7 @@
> AC_CONFIG_HEADER(config.h)
> AC_PROG_CC
> AC_CANONICAL_HOST
>+AC_C_BIGENDIAN
>
> # Checks for programs.
> AC_PROG_CPP
>Index: rijndael.c
>===================================================================
>RCS file: /var/cvs/openssh/rijndael.c,v
>retrieving revision 1.8
>diff -u -r1.8 rijndael.c
>--- rijndael.c 2001/02/05 18:16:28 1.8
>+++ rijndael.c 2001/02/27 21:11:00
>@@ -58,7 +58,7 @@
>
> #define byte(x,n) ((u1byte)((x) >> (8 * n)))
>
>-#if BYTE_ORDER != LITTLE_ENDIAN
>+#ifdef WORDS_BIGENDIAN
> #define BYTE_SWAP
> #endif
More information about the openssh-unix-dev
mailing list