aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/sha256.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cipher/sha256.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/sha256.c b/cipher/sha256.c
index 47c754101..7e864cc73 100644
--- a/cipher/sha256.c
+++ b/cipher/sha256.c
@@ -111,7 +111,7 @@ transform( SHA256_CONTEXT *hd, byte *data )
g = hd->h6;
h = hd->h7;
-#ifdef BIG_ENDIAN_HOST
+#if BIG_ENDIAN_HOST
memcpy( w, data, 64 );
#else
{
@@ -257,7 +257,7 @@ sha256_final(SHA256_CONTEXT *hd)
burn_stack (328);
p = hd->buf;
-#ifdef BIG_ENDIAN_HOST
+#if BIG_ENDIAN_HOST
#define X(a) do { *(u32*)p = hd->h##a ; p += 4; } while(0)
#else /* little endian */
#define X(a) do { *p++ = hd->h##a >> 24; *p++ = hd->h##a >> 16; \