Merge branch 'jn/branch-lift-unnecessary-name-length-limit'
[gitweb.git] / block-sha1 / sha1.c
index 6d637bd81e8f9b34bbbf71f5172cbb3537c7f435..22b125cf8c122e3a1716f34778fa5595454fe76a 100644 (file)
@@ -242,10 +242,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]);
 }