Function esp_idf_svc::hal::sys::esp_transport_ssl_set_common_name

source ·
pub unsafe extern "C" fn esp_transport_ssl_set_common_name(
    t: *mut esp_transport_item_t,
    common_name: *const i8,
)
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