]> granicus.if.org Git - esp-idf/commitdiff
mbedtls: Make ECDHE-PSK config item depend on ECDHE
authorAngus Gratton <angus@espressif.com>
Fri, 30 Aug 2019 05:01:43 +0000 (15:01 +1000)
committerAngus Gratton <gus@projectgus.com>
Fri, 30 Aug 2019 05:01:53 +0000 (15:01 +1000)
components/mbedtls/Kconfig

index e597af28248704333166641d3c28778dee084282..a9e7983bd227731213921af72abca8bd2cb841ed 100644 (file)
@@ -241,7 +241,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.