Skip to content
Snippets Groups Projects
Commit 9a8d2d15 authored by Mark Haines's avatar Mark Haines
Browse files

Check the message index in the tests

parent 3091dc2b
No related branches found
No related tags found
No related merge requests found
......@@ -166,6 +166,7 @@ int main() {
plaintext_buf, size, &message_index);
assert_equals(plaintext_length, res);
assert_equals(plaintext, plaintext_buf, res);
assert_equals(message_index, uint32_t(0));
}
{
......@@ -213,6 +214,7 @@ int main() {
res = olm_group_decrypt(
inbound_session, msgcopy, msglen, plaintext_buf, size, &message_index
);
assert_equals(message_index, uint32_t(0));
assert_equals(plaintext_length, res);
assert_equals(plaintext, plaintext_buf, res);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment