summary refs log tree commit diff
path: root/crypt/sha512.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypt/sha512.c')
-rw-r--r--crypt/sha512.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypt/sha512.c b/crypt/sha512.c
index e0c4ac1c1f..94adbd428a 100644
--- a/crypt/sha512.c
+++ b/crypt/sha512.c
@@ -149,8 +149,8 @@ __sha512_finish_ctx (struct sha512_ctx *ctx, void *resbuf)
 
   /* Put the 128-bit file length in *bits* at the end of the buffer.  */
   ctx->buffer64[(bytes + pad + 8) / 8] = SWAP (ctx->total[TOTAL128_low] << 3);
-  ctx->buffer64[(bytes + pad) / 8] = SWAP ((ctx->total[TOTAL128_high] << 3) |
-					   (ctx->total[TOTAL128_low] >> 61));
+  ctx->buffer64[(bytes + pad) / 8] = SWAP ((ctx->total[TOTAL128_high] << 3)
+					   | (ctx->total[TOTAL128_low] >> 61));
 
   /* Process last bytes.  */
   __sha512_process_block (ctx->buffer, bytes + pad + 16, ctx);