Skip to content

Commit

Permalink
fix: Fixed build errors with TLS 1.3 only configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
hmalpani committed Jul 24, 2024
1 parent beda3dc commit e9acc30
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/mbedtls/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ menu "mbedTLS"

config MBEDTLS_SSL_RENEGOTIATION
bool "Support TLS renegotiation"
depends on MBEDTLS_TLS_ENABLED
depends on MBEDTLS_TLS_ENABLED && MBEDTLS_SSL_PROTO_TLS1_2
default y
help
The two main uses of renegotiation are (1) refresh keys on long-lived
Expand Down
14 changes: 14 additions & 0 deletions examples/protocols/esp_http_client/sdkconfig.ci.tls13_only
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
CONFIG_EXAMPLE_CONNECT_ETHERNET=y
CONFIG_EXAMPLE_CONNECT_WIFI=n
CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET=y
CONFIG_EXAMPLE_ETH_PHY_IP101=y
CONFIG_EXAMPLE_ETH_MDC_GPIO=23
CONFIG_EXAMPLE_ETH_MDIO_GPIO=18
CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=5
CONFIG_EXAMPLE_ETH_PHY_ADDR=1
CONFIG_EXAMPLE_CONNECT_IPV6=y
CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH=y
CONFIG_ESP_HTTP_CLIENT_ENABLE_DIGEST_AUTH=y
CONFIG_EXAMPLE_HTTP_ENDPOINT="httpbin.espressif.cn"
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=n
CONFIG_MBEDTLS_SSL_PROTO_TLS1_3=y

0 comments on commit e9acc30

Please sign in to comment.