Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
85247df0
Commit
85247df0
authored
Mar 19, 2015
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update THREADING and CHANGELOG with SecureTransport details
parent
b7e1c81d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
CHANGELOG.md
+3
-0
THREADING.md
+14
-4
No files found.
CHANGELOG.md
View file @
85247df0
...
...
@@ -31,6 +31,9 @@ v0.22 + 1
*
`git_rebase_commit`
now returns
`GIT_EUNMERGED`
when you attempt to
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
*
The
`git_merge_options`
gained a
`file_flags`
member.
...
...
THREADING.md
View file @
85247df0
...
...
@@ -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
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.
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
HTTPS as a transport. This library is made to be thread-implementation
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
)
on threading for more details.
Be also aware that libgit2
may not always link against OpenSSL in the
future
if there are alternatives provided by the system.
Be also aware that libgit2
does not always link against OpenSSL
if there are alternatives provided by the system.
libssh2 may be linked against OpenSSL or libgcrypt. If it uses
OpenSSL, you only need to set up threading for OpenSSL once and the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment