commit - dc671e91ec5fbde514e27ed3d9ce4c6a0459538c
commit + fd2512569717d197f9d892f934f3d490bb1ce0c0
blob - 8fcc4cad0241a7f7715f2d045fcb4a7b0cf2bb7d
blob + 7a87cf1648983cbf4f1f078d5daff69f534db236
--- lib/privsep.c
+++ lib/privsep.c
}
const struct got_error *
-got_privsep_send_index_pack_req(struct imsgbuf *ibuf, uint8_t *pack_hash,
+got_privsep_send_index_pack_req(struct imsgbuf *ibuf, uint8_t *pack_sha1,
int fd)
{
const struct got_error *err = NULL;
/* Keep in sync with struct got_imsg_index_pack_request */
if (imsg_compose(ibuf, GOT_IMSG_IDXPACK_REQUEST, 0, 0, fd,
- pack_hash, SHA1_DIGEST_LENGTH) == -1) {
+ pack_sha1, SHA1_DIGEST_LENGTH) == -1) {
err = got_error_from_errno("imsg_compose INDEX_REQUEST");
close(fd);
return err;