Function esp_idf_sys::esp_transport_ssl_set_common_name

source ·
pub unsafe extern "C" fn esp_transport_ssl_set_common_name(
    t: esp_transport_handle_t,
    common_name: *const c_char,
)
Expand description

@brief Set the server certificate’s common name field

@note If non-NULL, server certificate CN must match this name, If NULL, server certificate CN must match hostname. @param t ssl transport common_name A string containing the common name to be set