Bad packet length in 2.5.1 with rijndael
Gregory Steuck
greg at nest.cx
Wed Feb 28 03:44:36 EST 2001
It isn't defined. I put this error line in:
#ifdef BYTE_SWAP
#define io_swap(x) bswap(x)
#else
#error BYTE_SWAP was not defined
#define io_swap(x) (x)
#endif
[greg at puma openssh-2.5.1p1]$ make rijndael.o
gcc -g -O2 -Wall -I/usr/local/include -I. -I./openbsd-compat -I. -DETCDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -DHAVE_CONFIG_H -c rijndael.c
rijndael.c:68: #error BYTE_SWAP was not defined
make: *** [rijndael.o] Error 1
>>>>> "Markus" == Markus Friedl <markus.friedl at informatik.uni-erlangen.de> writes:
Markus> it seems that this check does not work on solaris
Markus> #if BYTE_ORDER != LITTLE_ENDIAN #define BYTE_SWAP #endif
Markus> could you please check that BYTE_SWAP is defined in
Markus> rijndael.c
More information about the openssh-unix-dev
mailing list