From 2c39eee805e4bc875eab737e529feb0c4c91f50e Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 5 May 2006 16:54:40 +0000 Subject: Migrate endianness macros. --- libbb/sha1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb') diff --git a/libbb/sha1.c b/libbb/sha1.c index 4b28266af..dd4009834 100644 --- a/libbb/sha1.c +++ b/libbb/sha1.c @@ -153,7 +153,7 @@ void *sha1_end(void *resbuf, sha1_ctx_t *ctx) #else static uint32_t mask[4] = { 0x00000000, 0x000000ff, 0x0000ffff, 0x00ffffff }; static uint32_t bits[4] = { 0x00000080, 0x00008000, 0x00800000, 0x80000000 }; -#endif /* __BYTE_ORDER */ +#endif uint8_t *hval = resbuf; uint32_t i, cnt = (uint32_t) (ctx->count[0] & SHA1_MASK); -- cgit v1.2.3-55-g6feb