Introduce `git_tls_stream_wrap` which will take an existing `stream` with an already connected socket and begin speaking TLS on top of it. This is useful if you've built a connection to a proxy server and you wish to begin CONNECT over it to tunnel a TLS connection. Also update the pluggable TLS stream layer so that it can accept a registration structure that provides an `init` and `wrap` function, instead of a single initialization function.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
curl.c | Loading commit data... | |
curl.h | Loading commit data... | |
mbedtls.c | Loading commit data... | |
mbedtls.h | Loading commit data... | |
openssl.c | Loading commit data... | |
openssl.h | Loading commit data... | |
socket.c | Loading commit data... | |
socket.h | Loading commit data... | |
stransport.c | Loading commit data... | |
stransport.h | Loading commit data... | |
tls.c | Loading commit data... | |
tls.h | Loading commit data... |