block-sha1/sha1.c: have SP around arithmetic operators
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Oct 15, 2013 at 15:27 UTC
6b2dd0e56ba2bd668396afe9e983dddfd1f441ca
1 file changed
+2
-2
block-sha1/sha1.c
+2
-2
@@ -274,10 +274,10 @@ void blk_SHA1_Final(unsigned char hashout[20], blk_SHA_CTX *ctx)
274
padlen[1] = htonl((uint32_t)(ctx->size << 3));
275
276
i = ctx->size & 63;
277
- blk_SHA1_Update(ctx, pad, 1+ (63 & (55 - i)));
277
+ blk_SHA1_Update(ctx, pad, 1 + (63 & (55 - i)));
278
blk_SHA1_Update(ctx, padlen, 8);
279
280
/* Output hash */
281
for (i = 0; i < 5; i++)
282
- put_be32(hashout + i*4, ctx->H[i]);
282
+ put_be32(hashout + i * 4, ctx->H[i]);
283
}