commit - 97267ffd9f5f20bf2047f4e4e76f1d155dffaa59
commit + 20a2922ac9672923f2aa124d670cde69d69b0cc3
blob - af03219f49ee499a7c4d1a39e802bc0773762f06
blob + 5c336264de3d25587a6e025ec8a194157b047cb4
--- lib/pack.c
+++ lib/pack.c
got_hash_update(&ctx, h->trailer->packfile_sha1,
SHA1_DIGEST_LENGTH);
got_hash_final(&ctx, hash);
- if (got_hash_cmp(ctx.algo, hash, h->trailer->packidx_sha1)
- != 0)
+ if (got_hash_cmp(ctx.algo, hash, h->trailer->packidx_sha1) != 0)
err = got_error(GOT_ERR_PACKIDX_CSUM);
}
done: