Skip to content

Commit 4fce6c3

Browse files
frkvnordicjm
authored andcommitted
crypto: mbedtls: Ensure MBEDTLS_PSA_CRYPTO_CONFIG is always set
-Adding -DMBEDTLS_PSA_CRYPTO_CONFIG to all builds to fix a small regression not including PSA crypto configuration file in TLS/DTLS and X.509 use-cases. This led to certain features flagged as unsupported even though they are Ref: NCSDK-15632 Signed-off-by: Frank Audun Kvamtrø <frank.kvamtro@nordicsemi.no>
1 parent ef0f279 commit 4fce6c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/nrf_security/src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ target_compile_definitions(mbedcrypto_common
2727
-DMBEDTLS_CONFIG_FILE="${CONFIG_MBEDTLS_CFG_FILE}"
2828
-DMBEDTLS_PSA_CRYPTO_CONFIG_FILE="${CONFIG_MBEDTLS_PSA_CRYPTO_CONFIG_FILE}"
2929
-DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE="${CONFIG_MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE}"
30+
-DMBEDTLS_PSA_CRYPTO_CONFIG
3031
)
3132

3233
# Add the user config only if it is set

0 commit comments

Comments
 (0)