Function esp_idf_sys::mbedtls_ssl_conf_preference_order

source ยท
pub unsafe extern "C" fn mbedtls_ssl_conf_preference_order(
    conf: *mut mbedtls_ssl_config,
    order: c_int,
)
Expand description

\brief Pick the ciphersuites order according to the second parameter in the SSL Server module (MBEDTLS_SSL_SRV_C). (Default, if never called: MBEDTLS_SSL_SRV_CIPHERSUITE_ORDER_SERVER)

\param conf SSL configuration \param order Server or client (MBEDTLS_SSL_SRV_CIPHERSUITE_ORDER_SERVER or MBEDTLS_SSL_SRV_CIPHERSUITE_ORDER_CLIENT)