Skip to content

Commit

Permalink
Pull request #319: Added a missing include for mdetlds/error.h when M…
Browse files Browse the repository at this point in the history
…BEDTLS_ERROR_C is defined (project-chip#23645)

Merge in WMN_TOOLS/matter from cherry-pick/cf45410520c to silabs_1.0

Squashed commit of the following:

commit a7207146a768fba5c047cfa2a26c73431de4c6aa
Author: lpbeliveau-silabs <[email protected]>
Date:   Wed Nov 16 23:43:29 2022 -0500

    Added a missing include for mdetlds/error.h when MBEDTLS_ERROR_C is defined (project-chip#23645)
  • Loading branch information
jmartinez-silabs authored and rerasool committed Nov 23, 2022
1 parent ecabcd8 commit c04f700
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 c04f700

Please sign in to comment.