Skip to content

Commit 6b2dd0e

Browse files
committed
block-sha1/sha1.c: have SP around arithmetic operators
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5f050e3 commit 6b2dd0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

block-sha1/sha1.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,10 @@ void blk_SHA1_Final(unsigned char hashout[20], blk_SHA_CTX *ctx)
274274
padlen[1] = htonl((uint32_t)(ctx->size << 3));
275275

276276
i = ctx->size & 63;
277-
blk_SHA1_Update(ctx, pad, 1+ (63 & (55 - i)));
277+
blk_SHA1_Update(ctx, pad, 1 + (63 & (55 - i)));
278278
blk_SHA1_Update(ctx, padlen, 8);
279279

280280
/* Output hash */
281281
for (i = 0; i < 5; i++)
282-
put_be32(hashout + i*4, ctx->H[i]);
282+
put_be32(hashout + i * 4, ctx->H[i]);
283283
}

0 commit comments

Comments
 (0)