Skip to content

Commit 3265924

Browse files
lpbeliveau-silabspull[bot]
authored andcommitted
Added a missing include for mdetlds/error.h when MBEDTLS_ERROR_C is defined (#23645)
1 parent 1d20281 commit 3265924

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/platform/EFR32/CHIPCryptoPALPsaEfr32.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ extern "C" {
5656
#include <mbedtls/x509.h>
5757
#include <mbedtls/x509_csr.h>
5858

59+
#if defined(MBEDTLS_ERROR_C)
60+
#include <mbedtls/error.h>
61+
#endif // defined(MBEDTLS_ERROR_C)
62+
5963
#include <lib/core/CHIPSafeCasts.h>
6064
#include <lib/support/BufferWriter.h>
6165
#include <lib/support/BytesToHex.h>

0 commit comments

Comments
 (0)