summaryrefslogtreecommitdiff
path: root/src/hash/sha1/mbedtls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/sha1/mbedtls.c')
-rw-r--r--src/hash/sha1/mbedtls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/sha1/mbedtls.c b/src/hash/sha1/mbedtls.c
index 04e7da5fa..56016bec8 100644
--- a/src/hash/sha1/mbedtls.c
+++ b/src/hash/sha1/mbedtls.c
@@ -38,9 +38,9 @@ int git_hash_sha1_update(git_hash_sha1_ctx *ctx, const void *data, size_t len)
return 0;
}
-int git_hash_sha1_final(git_oid *out, git_hash_sha1_ctx *ctx)
+int git_hash_sha1_final(unsigned char *out, git_hash_sha1_ctx *ctx)
{
GIT_ASSERT_ARG(ctx);
- mbedtls_sha1_finish(&ctx->c, out->id);
+ mbedtls_sha1_finish(&ctx->c, out);
return 0;
}