Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
block-sha1/sha1.c: have SP around arithmetic operators
author
Junio C Hamano
<gitster@pobox.com>
Tue, 15 Oct 2013 22:27:51 +0000
(15:27 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 16 Oct 2013 17:27:27 +0000
(10:27 -0700)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
block-sha1/sha1.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
5f050e3
)
diff --git
a/block-sha1/sha1.c
b/block-sha1/sha1.c
index a8d4bf9301d25de60c02718b9d446edf5c665184..e1a1eb609754a745da956a6994d23aec3c4c9c05 100644
(file)
--- 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]);
}