summaryrefslogtreecommitdiff
path: root/lib/md4.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-10-21 12:46:48 +0000
committerSimon Josefsson <simon@josefsson.org>2005-10-21 12:46:48 +0000
commit4fbdc31e39cf2d3765667eb48155092373d7da55 (patch)
tree7b0ea229b254faf56a00c8f8b7a71a7f2d2ecd48 /lib/md4.c
parentd114b0a2d9c7049f57a54966bd118e4a70d1bc1e (diff)
downloadgnulib-4fbdc31e39cf2d3765667eb48155092373d7da55.tar.gz
Fix GNU indent bugs, suggested by Bruno.
Diffstat (limited to 'lib/md4.c')
-rw-r--r--lib/md4.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/md4.c b/lib/md4.c
index fcade301ed..5c72430a65 100644
--- a/lib/md4.c
+++ b/lib/md4.c
@@ -49,7 +49,7 @@
/* This array contains the bytes used to pad the buffer to the next
64-byte boundary. (RFC 1320, 3.1: Step 1) */
-static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ... */ };
+static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ... */ };
/* Initialize structure containing state of computation.
@@ -103,9 +103,9 @@ md4_finish_ctx (struct md4_ctx *ctx, void *resbuf)
memcpy (&ctx->buffer[bytes], fillbuf, pad);
/* Put the 64-bit file length in *bits* at the end of the buffer. */
- *(uint32_t *) & ctx->buffer[bytes + pad] = SWAP (ctx->total[0] << 3);
- *(uint32_t *) & ctx->buffer[bytes + pad + 4] = SWAP ((ctx->total[1] << 3) |
- (ctx->total[0] >> 29));
+ *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP (ctx->total[0] << 3);
+ *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP ((ctx->total[1] << 3) |
+ (ctx->total[0] >> 29));
/* Process last bytes. */
md4_process_block (ctx->buffer, bytes + pad + 8, ctx);