aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-28 02:35:56 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-28 02:35:56 +0000
commitf8855139402a8752b9f9f5425cebe23e88e94c2a (patch)
treec772f878f5a0b613fe65d48cb8dda0225d250d5e /libbb
parent87848d91c7b3dba9379237ba0bad31239f16e07a (diff)
downloadbusybox-f8855139402a8752b9f9f5425cebe23e88e94c2a.tar.gz
just whitespace fixes
Diffstat (limited to 'libbb')
-rw-r--r--libbb/sha1.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libbb/sha1.c b/libbb/sha1.c
index f0d952f84..128d4b98f 100644
--- a/libbb/sha1.c
+++ b/libbb/sha1.c
@@ -147,13 +147,13 @@ void sha1_hash(const void *data, size_t length, sha1_ctx_t *ctx)
void *sha1_end(void *resbuf, sha1_ctx_t *ctx)
{
/* SHA1 Final padding and digest calculation */
- #if BB_BIG_ENDIAN
- static uint32_t mask[4] = { 0x00000000, 0xff000000, 0xffff0000, 0xffffff00 };
- static uint32_t bits[4] = { 0x80000000, 0x00800000, 0x00008000, 0x00000080 };
- #else
- static uint32_t mask[4] = { 0x00000000, 0x000000ff, 0x0000ffff, 0x00ffffff };
- static uint32_t bits[4] = { 0x00000080, 0x00008000, 0x00800000, 0x80000000 };
- #endif /* __BYTE_ORDER */
+#if BB_BIG_ENDIAN
+ static uint32_t mask[4] = { 0x00000000, 0xff000000, 0xffff0000, 0xffffff00 };
+ static uint32_t bits[4] = { 0x80000000, 0x00800000, 0x00008000, 0x00000080 };
+#else
+ static uint32_t mask[4] = { 0x00000000, 0x000000ff, 0x0000ffff, 0x00ffffff };
+ static uint32_t bits[4] = { 0x00000080, 0x00008000, 0x00800000, 0x80000000 };
+#endif /* __BYTE_ORDER */
uint8_t *hval = resbuf;
uint32_t i, cnt = (uint32_t) (ctx->count[0] & SHA1_MASK);