diff options
author | Rob Landley | 2006-05-05 16:54:40 +0000 |
---|---|---|
committer | Rob Landley | 2006-05-05 16:54:40 +0000 |
commit | 2c39eee805e4bc875eab737e529feb0c4c91f50e (patch) | |
tree | a91900db1e5342000f5de4e1d41be802663ee4bb /libbb/sha1.c | |
parent | 39cf645ce0773e8fc5babb69550d8815064c76f8 (diff) | |
download | busybox-2c39eee805e4bc875eab737e529feb0c4c91f50e.zip busybox-2c39eee805e4bc875eab737e529feb0c4c91f50e.tar.gz |
Migrate endianness macros.
Diffstat (limited to 'libbb/sha1.c')
-rw-r--r-- | libbb/sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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); |