aboutsummaryrefslogtreecommitdiff
path: root/builtin/fast-import.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-09-13 10:07:56 -0700
committerJunio C Hamano <gitster@pobox.com>2023-09-13 10:07:57 -0700
commit331f20d52df2fd5eb4bea4a9e14a368472f32819 (patch)
tree2aa5b04125bfde2d26ea07e9723f80251a8aea0f /builtin/fast-import.c
parentc52a02a0f0025df0e83ba00dc469df0dc8838b5e (diff)
parente0b8c84240037a592c5bd5f18fc382a98a323bea (diff)
downloadgit-331f20d52df2fd5eb4bea4a9e14a368472f32819.tar.xz
Merge branch 'ew/hash-with-openssl-evp'
Fix-up new-ish code to support OpenSSL EVP API. * ew/hash-with-openssl-evp: treewide: fix various bugs w/ OpenSSL 3+ EVP API
Diffstat (limited to 'builtin/fast-import.c')
-rw-r--r--builtin/fast-import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/fast-import.c b/builtin/fast-import.c
index 4dbb10aff3..444f41cf8c 100644
--- a/builtin/fast-import.c
+++ b/builtin/fast-import.c
@@ -1102,6 +1102,7 @@ static void stream_blob(uintmax_t len, struct object_id *oidout, uintmax_t mark)
|| (pack_size + PACK_SIZE_THRESHOLD + len) < pack_size)
cycle_packfile();
+ the_hash_algo->init_fn(&checkpoint.ctx);
hashfile_checkpoint(pack_file, &checkpoint);
offset = checkpoint.offset;