mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-11-17 07:49:35 +01:00
feat(mqtt): enable custom TLS cipher suites for MQTTs
- Add `ciphersuites_list` to `esp_mqtt_client_config_t` for specifying TLS cipher suites. - Update SSL transport configuration to use the provided cipher suites. - Users are responsible for managing the cipher suites list memory.
This commit is contained in:
@@ -274,6 +274,8 @@ typedef struct esp_mqtt_client_config_t {
|
||||
If NULL, server certificate CN must match hostname.
|
||||
This is ignored if skip_cert_common_name_check=true.
|
||||
It's not copied nor freed by the client, user needs to clean up.*/
|
||||
const int *ciphersuites_list; /*!< Pointer to a zero-terminated array of IANA identifiers of TLS cipher suites.
|
||||
Please ensure the validity of the list, and note that it is not copied or freed by the client. */
|
||||
} verification; /*!< Security verification of the broker */
|
||||
} broker; /*!< Broker address and security verification */
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user