summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-02-27 10:08:15 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-02-27 10:08:15 +0000
commit02ab4841b9da6c48a1ea8c676eff3a9175b489db (patch)
treebd359f661f3306dc0b0b14b748b8aa5487ac496f /docs
parent358a3b9c382bdd1cec9330fcd55360815d9ce472 (diff)
downloadlibgit2-02ab4841b9da6c48a1ea8c676eff3a9175b489db.tar.gz
threading: clarify openssl default vs mbedtls
Diffstat (limited to 'docs')
-rw-r--r--docs/threading.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/threading.md b/docs/threading.md
index 0c31cf655..ddfaf7ae5 100644
--- a/docs/threading.md
+++ b/docs/threading.md
@@ -58,10 +58,11 @@ general case still affects you if you use ssh.
General Case
------------
-If there are no applicable TLS implementations (currently only
-SecureTransport and mbedTLS), libgit2 defaults to OpenSSL in order to use HTTPS as a transport.
-OpenSSL is thread-safe starting at version 1.1.0. If your copy of libgit2 is
-linked against that version, you do not need to take any further steps.
+libgit2 will default to OpenSSL for HTTPS transport (except on Windows and
+macOS, as mentioned above). On any system, mbedTLS _may_ be optionally
+enabled as the security provider. OpenSSL is thread-safe starting at
+version 1.1.0. If your copy of libgit2 is linked against that version,
+you do not need to take any further steps.
Older versions of OpenSSL are made to be thread-implementation agnostic, and the
users of the library must set which locking function it should use. libgit2