Skip to content

Commit b577f65

Browse files
hmalpanimahavirj
authored andcommitted
fix: Fixed build errors with TLS 1.3 only configuration
1 parent 2c9ab21 commit b577f65

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

components/mbedtls/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ menu "mbedTLS"
810810

811811
config MBEDTLS_SSL_RENEGOTIATION
812812
bool "Support TLS renegotiation"
813-
depends on MBEDTLS_TLS_ENABLED
813+
depends on MBEDTLS_TLS_ENABLED && MBEDTLS_SSL_PROTO_TLS1_2
814814
default y
815815
help
816816
The two main uses of renegotiation are (1) refresh keys on long-lived
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
CONFIG_EXAMPLE_CONNECT_ETHERNET=y
2+
CONFIG_EXAMPLE_CONNECT_WIFI=n
3+
CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET=y
4+
CONFIG_EXAMPLE_ETH_PHY_IP101=y
5+
CONFIG_EXAMPLE_ETH_MDC_GPIO=23
6+
CONFIG_EXAMPLE_ETH_MDIO_GPIO=18
7+
CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=5
8+
CONFIG_EXAMPLE_ETH_PHY_ADDR=1
9+
CONFIG_EXAMPLE_CONNECT_IPV6=y
10+
CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH=y
11+
CONFIG_ESP_HTTP_CLIENT_ENABLE_DIGEST_AUTH=y
12+
CONFIG_EXAMPLE_HTTP_ENDPOINT="httpbin.espressif.cn"
13+
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=n
14+
CONFIG_MBEDTLS_SSL_PROTO_TLS1_3=y

0 commit comments

Comments
 (0)