Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Dec 19, 2023
1 parent 25a2c34 commit 077d51b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/protocols/secure_channel/CheckinMessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ class DLL_EXPORT CheckinMessage
* If an error occurs, no value will be set.
* @param[in,out] appData The optional application data decrypted. The input size of appData must be at least the
* size of GetAppDataSize(payload) + sizeof(CounterType), because appData is used as a work
* buffer for the decryption process. The output size on success will be GetAppDataSize(payload).
* If an error occurs, appData might countain data, but the data CANNOT be used since we were not able to validate it.
* buffer for the decryption process. The output size on success will be
* GetAppDataSize(payload). If an error occurs, appData might countain data,
* but the data CANNOT be used since we were not able to validate it.
*
* @return CHIP_ERROR_INVALID_MESSAGE_LENGTH if the payload is shorter than the minimum payload size
* CHIP_ERROR_BUFFER_TOO_SMALL if appData buffer is too small
Expand Down

0 comments on commit 077d51b

Please sign in to comment.