From: Junio C Hamano Date: Tue, 15 Oct 2013 22:27:51 +0000 (-0700) Subject: block-sha1/sha1.c: have SP around arithmetic operators X-Git-Tag: v1.8.5-rc0~14^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b2dd0e56ba2bd668396afe9e983dddfd1f441ca;p=thirdparty%2Fgit.git block-sha1/sha1.c: have SP around arithmetic operators Signed-off-by: Junio C Hamano --- diff --git a/block-sha1/sha1.c b/block-sha1/sha1.c index a8d4bf9301..e1a1eb6097 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]); }