summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2019-06-13 16:48:35 +0200
committerEtienne Samson <samson.etienne@gmail.com>2019-06-14 12:07:00 +0200
commit94fc83b6d7f179190142b91abd0d22240aced0c1 (patch)
tree3737f1a6f4340e8e96391f2f9862136ca122c60c /docs
parent231ccbeb1df01715646c788b6316046dfecda4c7 (diff)
downloadlibgit2-94fc83b6d7f179190142b91abd0d22240aced0c1.tar.gz
cmake: Modulize our TLS & hash detection
The interactions between `USE_HTTPS` and `SHA1_BACKEND` have been streamlined. Previously we would have accepted not quite working configurations (like, `-DUSE_HTTPS=OFF -DSHA1_BACKEND=OpenSSL`) and, as the OpenSSL detection only ran with `USE_HTTPS`, the link would fail. The detection was moved to a new `USE_SHA1`, modeled after `USE_HTTPS`, which takes the values "CollisionDetection/Backend/Generic", to better match how the "hashing backend" is selected, the default (ON) being "CollisionDetection". Note that, as `SHA1_BACKEND` is still used internally, you might need to check what customization you're using it for.
Diffstat (limited to 'docs')
-rw-r--r--docs/changelog.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/changelog.md b/docs/changelog.md
index 75f839212..e5eaf0794 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -10,6 +10,13 @@ v0.28 + 1
system http-parser implementation despite incompatibilities, you can
specify `-DUSE_HTTP_PARSER=system` to CMake.
+* The interactions between `USE_HTTPS` and `SHA1_BACKEND` have been
+ streamlined. The detection was moved to a new `USE_SHA1`, modeled after
+ `USE_HTTPS`, which takes the values "CollisionDetection/Backend/Generic", to
+ better match how the "hashing backend" is selected, the default (ON) being
+ "CollisionDetection". If you were using `SHA1_BACKEND` previously, you'll
+ need to check the value you've used, or switch to the autodetection.
+
### Changes or improvements
* libgit2 can now correctly cope with URLs where the host contains a colon