Просмотр исходного кода

mbedtls: Make ECDHE-PSK config item depend on ECDHE

Angus Gratton 6 лет назад
Родитель
Сommit
bdfba3b88c
1 измененных файлов с 1 добавлено и 1 удалено
  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.