Function esp_idf_svc::sys::mbedtls_ssl_session_reset
source ยท pub unsafe extern "C" fn mbedtls_ssl_session_reset(
ssl: *mut mbedtls_ssl_context,
) -> i32
Expand description
\brief Reset an already initialized SSL context for re-use while retaining application-set variables, function pointers and data.
\param ssl SSL context \return 0 if successful, or MBEDTLS_ERR_SSL_ALLOC_FAILED or MBEDTLS_ERR_SSL_HW_ACCEL_FAILED