From 848ae87b250186298a2a6a68a57f2740800e2651 Mon Sep 17 00:00:00 2001 From: Damian Krolik Date: Thu, 1 Dec 2022 16:44:11 +0100 Subject: [PATCH] Fix build --- src/crypto/crypto.gni | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/crypto/crypto.gni b/src/crypto/crypto.gni index 6ca932212d5ca3..b0fc8a9dfe5965 100644 --- a/src/crypto/crypto.gni +++ b/src/crypto/crypto.gni @@ -21,5 +21,6 @@ declare_args() { chip_external_mbedtls = false } -assert(!chip_external_mbedtls || chip_crypto == "mbedtls", - "Use of external mbedtls requires the mbedtls crypto impl") +assert( + !chip_external_mbedtls || chip_crypto == "mbedtls" || chip_crypto == "psa", + "Use of external mbedtls requires the mbedtls or psa crypto impl")