feat(esp-tls): update to upstream 3.6.3

This commit is contained in:
Chen Wu
2025-04-30 15:03:30 +08:00
parent e4b814b676
commit a2a95350b5
3 changed files with 25 additions and 0 deletions

View File

@@ -389,6 +389,10 @@ esp_err_t set_client_config(const char *hostname, size_t hostlen, esp_tls_cfg_t
return ESP_ERR_MBEDTLS_SSL_SET_HOSTNAME_FAILED;
}
free(use_host);
#ifdef CONFIG_MBEDTLS_V3
} else {
mbedtls_ssl_set_hostname(&tls->ssl, NULL);
#endif
}
if ((ret = mbedtls_ssl_config_defaults(&tls->conf,