Function esp_idf_hal::sys::mbedtls_ssl_conf_extended_master_secret

source ยท
pub unsafe extern "C" fn mbedtls_ssl_conf_extended_master_secret(
    conf: *mut mbedtls_ssl_config,
    ems: i8,
)
Expand description

\brief Enable or disable Extended Master Secret negotiation. (Default: MBEDTLS_SSL_EXTENDED_MS_ENABLED)

\note This should always be enabled, it is a security fix to the protocol, and should not cause any interoperability issue (used only if the peer supports it too).

\param conf SSL configuration \param ems MBEDTLS_SSL_EXTENDED_MS_ENABLED or MBEDTLS_SSL_EXTENDED_MS_DISABLED