summaryrefslogtreecommitdiff
path: root/crypt/sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypt/sha256.c')
-rw-r--r--crypt/sha256.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypt/sha256.c b/crypt/sha256.c
index 46fbf982e6..f90650f083 100644
--- a/crypt/sha256.c
+++ b/crypt/sha256.c
@@ -125,8 +125,8 @@ __sha256_finish_ctx (struct sha256_ctx *ctx, void *resbuf)
ctx->buffer64[(bytes + pad) / 8] = SWAP64 (ctx->total64 << 3);
#else
ctx->buffer32[(bytes + pad + 4) / 4] = SWAP (ctx->total[TOTAL64_low] << 3);
- ctx->buffer32[(bytes + pad) / 4] = SWAP ((ctx->total[TOTAL64_high] << 3) |
- (ctx->total[TOTAL64_low] >> 29));
+ ctx->buffer32[(bytes + pad) / 4] = SWAP ((ctx->total[TOTAL64_high] << 3)
+ | (ctx->total[TOTAL64_low] >> 29));
#endif
/* Process last bytes. */