Skip to content

Commit 20ea3cf

Browse files
Merge pull request nodegit#1992 from ianhattendorf/fix/use-sha1dc
Use builtin SHA1 for libgit compilation
2 parents 445efc0 + 5bccff6 commit 20ea3cf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vendor/libgit2.gyp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"GIT_SSH",
2323
"GIT_SSH_MEMORY_CREDENTIALS",
2424
"LIBGIT2_NO_FEATURES_H",
25-
"GIT_SHA1_OPENSSL",
25+
"GIT_SHA1_COLLISIONDETECT",
2626
"GIT_SHA256_OPENSSL",
2727
"GIT_USE_NSEC",
2828
"GIT_HTTPS",
@@ -172,7 +172,10 @@
172172
"libgit2/src/util/fs_path.c",
173173
"libgit2/src/util/futils.c",
174174
"libgit2/src/util/hash.c",
175+
"libgit2/src/util/hash/collisiondetect.c",
175176
"libgit2/src/util/hash/openssl.c",
177+
"libgit2/src/util/hash/sha1dc/sha1.c",
178+
"libgit2/src/util/hash/sha1dc/ubc_check.c",
176179
"libgit2/src/util/net.c",
177180
"libgit2/src/util/pool.c",
178181
"libgit2/src/util/posix.c",

0 commit comments

Comments
 (0)