mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-12-15 10:17:49 +08:00
feat(esp-tls): update to upstream 3.6.3
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user