From bdfba3b88c970700e6e9107b28eaeabb819fdcd2 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Fri, 30 Aug 2019 15:01:43 +1000 Subject: [PATCH] mbedtls: Make ECDHE-PSK config item depend on ECDHE --- components/mbedtls/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mbedtls/Kconfig b/components/mbedtls/Kconfig index 2615a61ce..7514d7621 100644 --- a/components/mbedtls/Kconfig +++ b/components/mbedtls/Kconfig @@ -254,7 +254,7 @@ menu "mbedTLS" config MBEDTLS_KEY_EXCHANGE_ECDHE_PSK bool "Enable ECDHE-PSK based ciphersuite modes" - depends on MBEDTLS_PSK_MODES + depends on MBEDTLS_PSK_MODES && MBEDTLS_ECDH_C default y help Enable to support Elliptic-Curve-Diffie-Hellman PSK (pre-shared-key) TLS authentication modes.