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 Nov 17, 2022
1 parent 751d0dd commit cf45410
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 cf45410

Please sign in to comment.