- (djm) Detect endianness in configure and use it in rijndael.c. Fixes

"Bad packet length" bugs.
This commit is contained in:
Damien Miller 2001-02-28 08:14:22 +11:00
parent 6007f19483
commit 4df5c76c2b
3 changed files with 8 additions and 3 deletions

View File

@ -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>
@ -4158,4 +4162,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.836 2001/02/27 03:42:58 djm Exp $
$Id: ChangeLog,v 1.837 2001/02/27 21:14:40 djm Exp $

View File

@ -1,10 +1,11 @@
# $Id: configure.in,v 1.256 2001/02/27 03:42:48 djm Exp $
# $Id: configure.in,v 1.257 2001/02/27 21:14:22 djm Exp $
AC_INIT(ssh.c)
AC_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_CANONICAL_HOST
AC_C_BIGENDIAN
# Checks for programs.
AC_PROG_CPP

View 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