summaryrefslogtreecommitdiff
path: root/block-sha1
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-10-15 22:27:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-10-16 17:27:27 (GMT)
commit6b2dd0e56ba2bd668396afe9e983dddfd1f441ca (patch)
treeed9f01bf9190495b7fe4874d93e979e5c48c30d4 /block-sha1
parent5f050e3c4ce05de13f24157ca7d3452362e673dc (diff)
downloadgit-6b2dd0e56ba2bd668396afe9e983dddfd1f441ca.zip
git-6b2dd0e56ba2bd668396afe9e983dddfd1f441ca.tar.gz
git-6b2dd0e56ba2bd668396afe9e983dddfd1f441ca.tar.bz2
block-sha1/sha1.c: have SP around arithmetic operators
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'block-sha1')
-rw-r--r--block-sha1/sha1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block-sha1/sha1.c b/block-sha1/sha1.c
index a8d4bf9..e1a1eb6 100644
--- a/block-sha1/sha1.c
+++ b/block-sha1/sha1.c
@@ -274,10 +274,10 @@ void blk_SHA1_Final(unsigned char hashout[20], blk_SHA_CTX *ctx)
padlen[1] = htonl((uint32_t)(ctx->size << 3));
i = ctx->size & 63;
- blk_SHA1_Update(ctx, pad, 1+ (63 & (55 - i)));
+ blk_SHA1_Update(ctx, pad, 1 + (63 & (55 - i)));
blk_SHA1_Update(ctx, padlen, 8);
/* Output hash */
for (i = 0; i < 5; i++)
- put_be32(hashout + i*4, ctx->H[i]);
+ put_be32(hashout + i * 4, ctx->H[i]);
}