Skip to content

Commit 84d07ec

Browse files
frkvcsarip
authored andcommitted
wifi: hostap: Fixing naming collisions for some TLS configurations
-Mbed TLS has come up with its own naming-convention with regards to certain Mbed TLS configurations for TLS/DTLS and X.509. This commit fixes a couple of them by depending on MBEDTLS_BUILTIN which is set when Kconfig.tls-generic is used 1. Make MBEDTLS_PEM_CERTIFICATE_FORMAT depend on MBEDTLS_BUILTIN The proper name for this functionaity is MBEDTL_PEM_PARSE_C and MBEDTLS_PEM_WRITE_C 2. Make MBEDTLS_SERVER_NAME_INDICATION depend on MBEDTLS_BUILTIN The proper name for this is MBEDTLS_SSL_SERVER_NAME_INDICATION Signed-off-by: Frank Audun Kvamtrø <frank.kvamtro@nordicsemi.no>
1 parent 57502f0 commit 84d07ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/hostap/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ config WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA
184184

185185
config WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
186186
bool "Enterprise Crypto support for WiFi"
187-
select MBEDTLS_PEM_CERTIFICATE_FORMAT
188-
select MBEDTLS_SERVER_NAME_INDICATION
187+
select MBEDTLS_PEM_CERTIFICATE_FORMAT if MBEDTLS_BUILTIN
188+
select MBEDTLS_SERVER_NAME_INDICATION if MBEDTLS_BUILTIN
189189
select MBEDTLS_X509_CRL_PARSE_C
190190
select MBEDTLS_TLS_VERSION_1_2
191191
depends on !WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE

0 commit comments

Comments
 (0)