mbedtls: Make ECDHE-PSK config item depend on ECDHE

This commit is contained in:
Angus Gratton 2019-08-30 15:01:43 +10:00 committed by Angus Gratton
parent 904b85e365
commit bdfba3b88c

View file

@ -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.