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 Aug 4, 2023
1 parent 1d20281 commit 3265924
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 3265924

Please sign in to comment.