Skip to content

Commit

Permalink
Fix OpenIotSDK failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jepenven-silabs committed Aug 30, 2023
1 parent 510faf1 commit 03441e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/protocols/secure_channel/tests/TestCheckinMsg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ void TestCheckin_Generate(nlTestSuite * inSuite, void * inContext)
// caller to make sure the key is indeed valid.
Aes128KeyHandle emptyKeyHandle;
err = CheckinMessage::GenerateCheckinMessagePayload(emptyKeyHandle, counter, userData, outputBuffer);
#if CHIP_CRYPTO_PSA
NL_TEST_ASSERT(inSuite, (CHIP_NO_ERROR != err));
#else
NL_TEST_ASSERT(inSuite, (CHIP_NO_ERROR == err));
#endif

ByteSpan emptyData;
err = CheckinMessage::GenerateCheckinMessagePayload(keyHandle, counter, emptyData, outputBuffer);
Expand Down

0 comments on commit 03441e9

Please sign in to comment.