about summary refs log tree commit diff
path: root/third_party/git/sha1dc_git.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/sha1dc_git.c')
-rw-r--r--third_party/git/sha1dc_git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/git/sha1dc_git.c b/third_party/git/sha1dc_git.c
index e0cc9d988c70..5c300e812e0a 100644
--- a/third_party/git/sha1dc_git.c
+++ b/third_party/git/sha1dc_git.c
@@ -19,7 +19,7 @@ void git_SHA1DCFinal(unsigned char hash[20], SHA1_CTX *ctx)
 	if (!SHA1DCFinal(hash, ctx))
 		return;
 	die("SHA-1 appears to be part of a collision attack: %s",
-	    sha1_to_hex(hash));
+	    hash_to_hex_algop(hash, &hash_algos[GIT_HASH_SHA1]));
 }
 
 /*