aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-28 02:35:56 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-28 02:35:56 +0000
commit519d297d182020c3d57d2c65e6d83faf5410cfe1 (patch)
treec772f878f5a0b613fe65d48cb8dda0225d250d5e /libbb
parentecf4c1d755182cb7f93fc608bddc058a9dc7c074 (diff)
downloadbusybox-w32-519d297d182020c3d57d2c65e6d83faf5410cfe1.tar.gz
busybox-w32-519d297d182020c3d57d2c65e6d83faf5410cfe1.tar.bz2
busybox-w32-519d297d182020c3d57d2c65e6d83faf5410cfe1.zip
just whitespace fixes
git-svn-id: svn://busybox.net/trunk/busybox@14676 69ca8d6d-28ef-0310-b511-8ec308f3f277
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)
147void *sha1_end(void *resbuf, sha1_ctx_t *ctx) 147void *sha1_end(void *resbuf, sha1_ctx_t *ctx)
148{ 148{
149 /* SHA1 Final padding and digest calculation */ 149 /* SHA1 Final padding and digest calculation */
150 #if BB_BIG_ENDIAN 150#if BB_BIG_ENDIAN
151 static uint32_t mask[4] = { 0x00000000, 0xff000000, 0xffff0000, 0xffffff00 }; 151 static uint32_t mask[4] = { 0x00000000, 0xff000000, 0xffff0000, 0xffffff00 };
152 static uint32_t bits[4] = { 0x80000000, 0x00800000, 0x00008000, 0x00000080 }; 152 static uint32_t bits[4] = { 0x80000000, 0x00800000, 0x00008000, 0x00000080 };
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 /* __BYTE_ORDER */
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);