fix: Fixed build errors with TLS 1.3 only configuration

This commit is contained in:
Harshit Malpani
2024-07-12 12:23:45 +05:30
committed by Mahavir Jain
parent 2c9ab21629
commit b577f659cd
2 changed files with 15 additions and 1 deletions

View File

@@ -810,7 +810,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