Commit 02ab4841b9da6c48a1ea8c676eff3a9175b489db

Edward Thomson 2019-02-27T10:08:15

threading: clarify openssl default vs mbedtls

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/docs/threading.md b/docs/threading.md
index 0c31cf6..ddfaf7a 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