From 70f1c32ffd3f3d00330d394b579ba4f68260c472 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Mon, 20 Mar 2006 16:40:28 +0000 Subject: * blowfish.c, md5.c, rmd160.c, sha1.c, sha256.c, sha512.c: Revert previous change. It's now all done in configure. --- cipher/sha512.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cipher/sha512.c') diff --git a/cipher/sha512.c b/cipher/sha512.c index 4b4018941..523579d25 100644 --- a/cipher/sha512.c +++ b/cipher/sha512.c @@ -171,7 +171,7 @@ transform( SHA512_CONTEXT *hd, byte *data ) g = hd->h6; h = hd->h7; -#if BIG_ENDIAN_HOST +#ifdef BIG_ENDIAN_HOST memcpy( w, data, 128 ); #else { @@ -332,7 +332,7 @@ sha512_final(SHA512_CONTEXT *hd) burn_stack (768); p = hd->buf; -#if BIG_ENDIAN_HOST +#ifdef BIG_ENDIAN_HOST #define X(a) do { *(u64*)p = hd->h##a ; p += 8; } while(0) #else /* little endian */ #define X(a) do { *p++ = hd->h##a >> 56; *p++ = hd->h##a >> 48; \ -- cgit v1.2.3