Skip to content

Commit

Permalink
Added a missing include for mdetlds/error.h when MBEDTLS_ERROR_C is d…
Browse files Browse the repository at this point in the history
…efined (#23645)
  • Loading branch information
lpbeliveau-silabs authored and pull[bot] committed Dec 22, 2023
1 parent f7593b3 commit 402a280
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/platform/EFR32/CHIPCryptoPALPsaEfr32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ extern "C" {
#include <mbedtls/x509.h>
#include <mbedtls/x509_csr.h>

#if defined(MBEDTLS_ERROR_C)
#include <mbedtls/error.h>
#endif // defined(MBEDTLS_ERROR_C)

#include <lib/core/CHIPSafeCasts.h>
#include <lib/support/BufferWriter.h>
#include <lib/support/BytesToHex.h>
Expand Down

0 comments on commit 402a280

Please sign in to comment.