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:
dhb
2025-05-21 10:05:00 +02:00
committed by glmfe
parent 6af4446a48
commit 00cc9dbd9a
3 changed files with 10 additions and 0 deletions

View File

@ -85,6 +85,7 @@ typedef struct {
int clientkey_password_len;
bool use_global_ca_store;
esp_err_t ((*crt_bundle_attach)(void *conf));
const int *ciphersuites_list;
const char *cacert_buf;
size_t cacert_bytes;
const char *clientcert_buf;