diff options
Diffstat (limited to 'md5sum.c')
-rw-r--r-- | md5sum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -244,7 +244,7 @@ void *md5_finish_ctx(struct md5_ctx *ctx, void *resbuf) | |||
244 | /* Put the 64-bit file length in *bits* at the end of the buffer. */ | 244 | /* Put the 64-bit file length in *bits* at the end of the buffer. */ |
245 | *(md5_uint32 *) & ctx->buffer[bytes + pad] = SWAP(ctx->total[0] << 3); | 245 | *(md5_uint32 *) & ctx->buffer[bytes + pad] = SWAP(ctx->total[0] << 3); |
246 | *(md5_uint32 *) & ctx->buffer[bytes + pad + 4] = | 246 | *(md5_uint32 *) & ctx->buffer[bytes + pad + 4] = |
247 | SWAP((ctx->total[1] << 3) | (ctx->total[0] >> 29)); | 247 | SWAP( ((ctx->total[1] << 3) | (ctx->total[0] >> 29)) ); |
248 | 248 | ||
249 | /* Process last bytes. */ | 249 | /* Process last bytes. */ |
250 | md5_process_block(ctx->buffer, bytes + pad + 8, ctx); | 250 | md5_process_block(ctx->buffer, bytes + pad + 8, ctx); |