From 2802ec65c20b86332a55a2dd114b8d9bf60411ae Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Wed, 20 Jul 2005 11:47:47 +0000 Subject: [PATCH 1/1] Pedantic polish to rc4-ia64.pl. --- crypto/rc4/asm/rc4-ia64.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/rc4/asm/rc4-ia64.pl b/crypto/rc4/asm/rc4-ia64.pl index 988eec1e94..49cd5b5e69 100644 --- a/crypto/rc4/asm/rc4-ia64.pl +++ b/crypto/rc4/asm/rc4-ia64.pl @@ -231,7 +231,7 @@ sub emit_body { ___ if (($p & 0xf) == 0) { - $c.="#ifdef RC4_BIG_ENDIAN\n"; + $c.="#ifdef HOST_IS_BIG_ENDIAN\n"; &I(\$c,"shr.u OutWord[%u] = OutWord[%u], 32;;", $iw1 % $NOutWord, $iw1 % $NOutWord); $c.="#endif\n"; @@ -392,7 +392,7 @@ $code=<<___; /* Define a macro for the bit number of the n-th byte: */ #if defined(_HPUX_SOURCE) || defined(B_ENDIAN) -# define RC4_BIG_ENDIAN +# define HOST_IS_BIG_ENDIAN # define BYTE_POS(n) (56 - (8 * (n))) #else # define BYTE_POS(n) (8 * (n)) -- 2.34.1