• Carlosgg's avatar
    extmod/asyncio: Add ssl support with SSLContext. · bfd6ad94
    Carlosgg authored
    
    
    This adds asyncio ssl support with SSLContext and the corresponding
    tests in `tests/net_inet` and `tests/multi_net`.
    
    Note that not doing the handshake on connect will delegate the handshake to
    the following `mbedtls_ssl_read/write` calls.  However if the handshake
    fails when a client certificate is required and not presented by the peer,
    it needs to be notified of this handshake error (otherwise it will hang
    until timeout if any).  Finally at MicroPython side raise the proper
    mbedtls error code and message.
    Signed-off-by: default avatarCarlos Gil <carlosgilglez@gmail.com>
    bfd6ad94
.gitattributes 735 Bytes