Openssl has a concept where you need to pass the same pointer to ssl_read()/ssl_write() if the socket fails with BCTBX_NET_WANT_READ/BCTBX_NET_WANT_WRITE. These changes supports this concept and does not break compatibility with mbedtls.
Openssl has a concept where you need to pass the same pointer to ssl_read()/ssl_write() if the socket fails with BCTBX_NET_WANT_READ/BCTBX_NET_WANT_WRITE. These changes supports this concept and does not break compatibility with mbedtls.