]> git.ipfire.org Git - thirdparty/git.git/blobdiff - bulk-checkin.c
treewide: fix various bugs w/ OpenSSL 3+ EVP API
[thirdparty/git.git] / bulk-checkin.c
index d843279715c3369ed92f853bd91c0e846af55049..d03a40f2f9a0fe5000fc06ce667d9fc24e7635be 100644 (file)
@@ -270,6 +270,7 @@ static int deflate_to_pack(struct bulk_checkin_packfile *state,
                                          type, size);
        the_hash_algo->init_fn(&ctx);
        the_hash_algo->update_fn(&ctx, obuf, header_len);
+       the_hash_algo->init_fn(&checkpoint.ctx);
 
        /* Note: idx is non-NULL when we are writing */
        if ((flags & HASH_WRITE_OBJECT) != 0)