Skip to content

Commit 68ac04a

Browse files
committed
Merge branch 'tb/weak-sha1-for-tail-sum'
Build fix. * tb/weak-sha1-for-tail-sum: hash.h: set NEEDS_CLONE_HELPER_UNSAFE in fallback mode
2 parents b1c6ed4 + 4638250 commit 68ac04a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hash.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@
8282
# ifdef platform_SHA1_Clone
8383
# define platform_SHA1_Clone_unsafe platform_SHA1_Clone
8484
# endif
85+
# ifdef SHA1_NEEDS_CLONE_HELPER
86+
# define SHA1_NEEDS_CLONE_HELPER_UNSAFE
87+
# endif
8588
#endif
8689

8790
#define git_SHA_CTX platform_SHA_CTX

0 commit comments

Comments
 (0)