summaryrefslogtreecommitdiff
path: root/src/libgit2/streams/schannel.c
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-211-0/+715
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).