• Show log

    Commit

  • Hash : 43b592ac
    Author : Edward Thomson
    Date : 2018-10-25T08:49:01

    tls: introduce a wrap function
    
    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.