Bläddra i källkod

mbedtls: Make ECDHE-PSK config item depend on ECDHE

Angus Gratton 6 år sedan
förälder
incheckning
bdfba3b88c
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      components/mbedtls/Kconfig

+ 1 - 1
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.