diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-05 16:54:40 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-05 16:54:40 +0000 |
commit | 0ab393eb14971029af9cffaf2eaba17b4cfd775a (patch) | |
tree | a91900db1e5342000f5de4e1d41be802663ee4bb /libbb | |
parent | 1d2214df180bbc5c46a0ac0cd315f10a00e6133d (diff) | |
download | busybox-w32-0ab393eb14971029af9cffaf2eaba17b4cfd775a.tar.gz busybox-w32-0ab393eb14971029af9cffaf2eaba17b4cfd775a.tar.bz2 busybox-w32-0ab393eb14971029af9cffaf2eaba17b4cfd775a.zip |
Migrate endianness macros.
git-svn-id: svn://busybox.net/trunk/busybox@15008 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-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 4b28266af..dd4009834 100644 --- a/libbb/sha1.c +++ b/libbb/sha1.c | |||
@@ -153,7 +153,7 @@ void *sha1_end(void *resbuf, sha1_ctx_t *ctx) | |||
153 | #else | 153 | #else |
154 | static uint32_t mask[4] = { 0x00000000, 0x000000ff, 0x0000ffff, 0x00ffffff }; | 154 | static uint32_t mask[4] = { 0x00000000, 0x000000ff, 0x0000ffff, 0x00ffffff }; |
155 | static uint32_t bits[4] = { 0x00000080, 0x00008000, 0x00800000, 0x80000000 }; | 155 | static uint32_t bits[4] = { 0x00000080, 0x00008000, 0x00800000, 0x80000000 }; |
156 | #endif /* __BYTE_ORDER */ | 156 | #endif |
157 | 157 | ||
158 | uint8_t *hval = resbuf; | 158 | uint8_t *hval = resbuf; |
159 | uint32_t i, cnt = (uint32_t) (ctx->count[0] & SHA1_MASK); | 159 | uint32_t i, cnt = (uint32_t) (ctx->count[0] & SHA1_MASK); |