commit | 2c39eee805e4bc875eab737e529feb0c4c91f50e | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Fri May 05 16:54:40 2006 +0000 |
committer | Rob Landley <rob@landley.net> | Fri May 05 16:54:40 2006 +0000 |
tree | a91900db1e5342000f5de4e1d41be802663ee4bb | |
parent | 39cf645ce0773e8fc5babb69550d8815064c76f8 [diff] [blame] |
Migrate endianness macros.
diff --git a/libbb/sha1.c b/libbb/sha1.c index 4b28266..dd40098 100644 --- a/libbb/sha1.c +++ b/libbb/sha1.c
@@ -153,7 +153,7 @@ #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);