Skip to content

Commit a26e957

Browse files
raymo200915trini
authored andcommitted
mbedtls: fix incorrect kconfig dependencies on mbedtls
Fixed the building failures when WGET_HTTPS,NET_LWIP and MBEDTLS_LIB are selected due to a few incorrect kconfig dependencies. Signed-off-by: Raymond Mao <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]>
1 parent b78f867 commit a26e957

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/Kconfig

-1
Original file line numberDiff line numberDiff line change
@@ -2168,7 +2168,6 @@ config WGET_HTTPS
21682168
select ASYMMETRIC_PUBLIC_KEY_SUBTYPE
21692169
select X509_CERTIFICATE_PARSER
21702170
select PKCS7_MESSAGE_PARSER
2171-
select MBEDTLS_LIB_CRYPTO
21722171
select MBEDTLS_LIB_TLS
21732172
select RSA_VERIFY_WITH_PKEY
21742173
select X509_CERTIFICATE_PARSER

lib/mbedtls/Kconfig

+2-1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ endif # LEGACY_CRYPTO_BASIC
156156

157157
config LEGACY_CRYPTO_CERT
158158
bool "legacy certificate libraries"
159+
depends on LEGACY_CRYPTO
159160
select ASN1_DECODER_LEGACY if ASN1_DECODER
160161
select ASYMMETRIC_PUBLIC_KEY_LEGACY if \
161162
ASYMMETRIC_PUBLIC_KEY_SUBTYPE
@@ -491,7 +492,7 @@ config MBEDTLS_LIB_TLS
491492
depends on ASYMMETRIC_PUBLIC_KEY_MBEDTLS
492493
depends on ASN1_DECODER_MBEDTLS
493494
depends on ASYMMETRIC_PUBLIC_KEY_MBEDTLS
494-
depends on MBEDTLS_LIB_CRYPTO
495+
depends on MBEDTLS_LIB
495496
help
496497
Enable MbedTLS TLS library. Required for HTTPs support
497498
in wget

0 commit comments

Comments
 (0)