Skip to content

Commit e7495ce

Browse files
committed
cmake: default to using SHA1DC
Upstream git.git has changed their default SHA1 implementation to the collision-detection algorithm SHA1DC in commit e6b07da27 (Makefile: make DC_SHA1 the default, 2017-03-17). To match upstream, align ourselves and switch over to SHA1DC by default.
1 parent 7610638 commit e7495ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ OPTION( PROFILE "Generate profiling information" OFF )
4242
OPTION( ENABLE_TRACE "Enables tracing support" OFF )
4343
OPTION( LIBGIT2_FILENAME "Name of the produced binary" OFF )
4444

45-
OPTION( USE_SHA1DC "Use SHA-1 with collision detection" OFF )
45+
OPTION( USE_SHA1DC "Use SHA-1 with collision detection" ON )
4646
OPTION( USE_SSH "Link with libssh to enable SSH support" ON )
4747
OPTION( USE_HTTPS "Enable HTTPS support. Can be set to a specific backend" ON )
4848
OPTION( USE_GSSAPI "Link with libgssapi for SPNEGO auth" OFF )

0 commit comments

Comments
 (0)