diff options
author | Patrick Steinhardt <ps@pks.im> | 2017-12-05 08:47:57 +0000 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-01-04 11:20:38 +0000 |
commit | e7495ce6f4dee156b6a1d48a4d478c83d1053236 (patch) | |
tree | 476d36dc67bc947f2c262584f54ed7b0c6c66141 | |
parent | 7610638ec829ffd6da6d5f74b5b14dbb32b74924 (diff) | |
download | libgit2-e7495ce6f4dee156b6a1d48a4d478c83d1053236.tar.gz |
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.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bedf85819..32f8ac082 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,7 @@ OPTION( PROFILE "Generate profiling information" OFF ) OPTION( ENABLE_TRACE "Enables tracing support" OFF ) OPTION( LIBGIT2_FILENAME "Name of the produced binary" OFF ) -OPTION( USE_SHA1DC "Use SHA-1 with collision detection" OFF ) +OPTION( USE_SHA1DC "Use SHA-1 with collision detection" ON ) OPTION( USE_SSH "Link with libssh to enable SSH support" ON ) OPTION( USE_HTTPS "Enable HTTPS support. Can be set to a specific backend" ON ) OPTION( USE_GSSAPI "Link with libgssapi for SPNEGO auth" OFF ) |