diff options
Diffstat (limited to 't/helper/test-hash-speed.c')
| -rw-r--r-- | t/helper/test-hash-speed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/helper/test-hash-speed.c b/t/helper/test-hash-speed.c index 803f41c89d..fbf67fe6bd 100644 --- a/t/helper/test-hash-speed.c +++ b/t/helper/test-hash-speed.c @@ -6,8 +6,8 @@ static inline void compute_hash(const struct git_hash_algo *algo, struct git_hash_ctx *ctx, uint8_t *final, const void *p, size_t len) { algo->init_fn(ctx); - algo->update_fn(ctx, p, len); - algo->final_fn(final, ctx); + git_hash_update(ctx, p, len); + git_hash_final(final, ctx); } int cmd__hash_speed(int ac, const char **av) |
