summaryrefslogtreecommitdiff
path: root/src/libgit2/streams
Commit message (Collapse)AuthorAgeFilesLines
* utf8: add conversion with size and refactor namesEdward Thomson2023-03-211-1/+1
| | | | | | | | Add functions to use convert a string with length, instead of assuming NUL termination. In addition, move the utf8 to 16 conversion routines into the `git_utf8` namespace instead of using namespaceless `git__` prefixed names.
* http: introduce schannel streams for windowsEdward Thomson2023-03-215-34/+804
| | | | | | | | | | Provide a stream interface for Schannel - the native crypto APIs - on Windows. This allows Windows to use the same HTTP transport that all the other platforms use, with its own native crypto. Ultimately this allows us to deprecate WinHTTP and we need not add support for our socket changes in two places (our HTTP stack and the WinHTTP stack).
* socket: mark flags as unusedEdward Thomson2023-02-151-1/+2
|
* Merge pull request #6456 from libgit2/ethomson/sha256_experimentalEdward Thomson2023-02-141-1/+3
|\ | | | | SHA256: more SHA256 support
| * transport: teach transports about oid types and SHA256Edward Thomson2023-02-121-1/+3
| |
* | openssl: support OpenSSL 3 in dynamic modeEdward Thomson2023-02-101-3/+7
| | | | | | | | | | | | | | | | | | Try to load OpenSSL 3 libraries when compiled with OpenSSL-Dynamic support. Handle the deprecated symbol renaming of SSL_get_peer_certificate to SSL_get1_peer_certificate -- try to load the old name and if it fails, use the new one.
* | openssl: retry initialization on failureEdward Thomson2023-02-101-1/+1
|/ | | | | | When we fail to initialize the OpenSSL subsystem, don't assume that we're "initialized". Subsequent initialization requests -- if there are any -- should replay initialization and fail again.
* refactor: `src` is now `src/libgit2`Edward Thomson2022-02-2216-0/+3059