Function esp_idf_svc::hal::sys::mbedtls_ssl_set_hs_authmode
source ยท pub unsafe extern "C" fn mbedtls_ssl_set_hs_authmode(
ssl: *mut mbedtls_ssl_context,
authmode: i32,
)
Expand description
\brief Set authmode for the current handshake.
\note Same as \c mbedtls_ssl_conf_authmode() but for use within the SNI callback or the certificate selection callback.
\param ssl SSL context \param authmode MBEDTLS_SSL_VERIFY_NONE, MBEDTLS_SSL_VERIFY_OPTIONAL or MBEDTLS_SSL_VERIFY_REQUIRED