Skip to content

Commit ee0bbce

Browse files
committed
cm: launcher: nodemanager: increase state checksum size
sha3 224 constant holds size of a byte array, this patch multiplies it by 2 to hold a hex representation of the checksum in a static string object. Signed-off-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
1 parent c6f7bf2 commit ee0bbce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/aos/cm/launcher/nodemanager.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct InstanceStatus : public aos::InstanceStatus {
2828
/**
2929
* Service state checksum.
3030
*/
31-
StaticString<cSHA3_224Size> mStateChecksum;
31+
StaticString<2 * cSHA3_224Size> mStateChecksum;
3232

3333
/**
3434
* Compares instance status.

0 commit comments

Comments
 (0)