mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-30 01:39:29 +00:00
Update THREADING and CHANGELOG with SecureTransport details
This commit is contained in:
parent
b7e1c81d1b
commit
85247df084
@ -31,6 +31,9 @@ v0.22 + 1
|
|||||||
* `git_rebase_commit` now returns `GIT_EUNMERGED` when you attempt to
|
* `git_rebase_commit` now returns `GIT_EUNMERGED` when you attempt to
|
||||||
commit with unstaged changes.
|
commit with unstaged changes.
|
||||||
|
|
||||||
|
* On Mac OS X, we now use SecureTransport to provide the cryptographic
|
||||||
|
support for HTTPS connections insead of OpenSSL.
|
||||||
|
|
||||||
### API additions
|
### API additions
|
||||||
|
|
||||||
* The `git_merge_options` gained a `file_flags` member.
|
* The `git_merge_options` gained a `file_flags` member.
|
||||||
|
18
THREADING.md
18
THREADING.md
@ -41,12 +41,22 @@ both of which are thread-safe. You do not need to do anything special.
|
|||||||
|
|
||||||
When using libssh2 which itself uses WinCNG, there are no special
|
When using libssh2 which itself uses WinCNG, there are no special
|
||||||
steps necessary. If you are using a MinGW or similar environment where
|
steps necessary. If you are using a MinGW or similar environment where
|
||||||
libssh2 uses OpenSSL or libgcrypt, then the non-Windows case affects
|
libssh2 uses OpenSSL or libgcrypt, then the general case affects
|
||||||
you.
|
you.
|
||||||
|
|
||||||
Non-Windows
|
On Mac OS X
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
On OS X, the library makes use of CommonCrypto and SecureTransport for
|
||||||
|
cryptographic support. These are thread-safe and you do not need to do
|
||||||
|
anything special.
|
||||||
|
|
||||||
|
Note that libssh2 may still use OpenSSL itself. In that case, the
|
||||||
|
general case still affects you if you use ssh.
|
||||||
|
|
||||||
|
General Case
|
||||||
|
------------
|
||||||
|
|
||||||
On the rest of the platforms, libgit2 uses OpenSSL to be able to use
|
On the rest of the platforms, libgit2 uses OpenSSL to be able to use
|
||||||
HTTPS as a transport. This library is made to be thread-implementation
|
HTTPS as a transport. This library is made to be thread-implementation
|
||||||
agnostic, and the users of the library must set which locking function
|
agnostic, and the users of the library must set which locking function
|
||||||
@ -71,8 +81,8 @@ See the
|
|||||||
[OpenSSL documentation](https://www.openssl.org/docs/crypto/threads.html)
|
[OpenSSL documentation](https://www.openssl.org/docs/crypto/threads.html)
|
||||||
on threading for more details.
|
on threading for more details.
|
||||||
|
|
||||||
Be also aware that libgit2 may not always link against OpenSSL in the
|
Be also aware that libgit2 does not always link against OpenSSL
|
||||||
future if there are alternatives provided by the system.
|
if there are alternatives provided by the system.
|
||||||
|
|
||||||
libssh2 may be linked against OpenSSL or libgcrypt. If it uses
|
libssh2 may be linked against OpenSSL or libgcrypt. If it uses
|
||||||
OpenSSL, you only need to set up threading for OpenSSL once and the
|
OpenSSL, you only need to set up threading for OpenSSL once and the
|
||||||
|
Loading…
Reference in New Issue
Block a user