aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-09-13 17:41:55 +0100
committerMark Haines <mjark@negativecurvature.net>2016-09-13 17:51:02 +0100
commita628ef41bd5b860b89a3e2e29df56a461e85fa00 (patch)
tree43e5f7e31a48bfdc269438ef176e339faff76d6b /tests
parente0b51971b7bc4cf3bb56b080f5f54296b58b3f0c (diff)
Remove the messsage index from olm_init_inbound_group_session since it is read from the session_key
Diffstat (limited to 'tests')
-rw-r--r--tests/test_group_session.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_group_session.cpp b/tests/test_group_session.cpp
index ce889ad..3e11169 100644
--- a/tests/test_group_session.cpp
+++ b/tests/test_group_session.cpp
@@ -130,7 +130,7 @@ int main() {
olm_inbound_group_session(inbound_session_memory);
res = olm_init_inbound_group_session(
- inbound_session, 0U, session_key, session_key_len);
+ inbound_session, session_key, session_key_len);
assert_equals((size_t)0, res);
/* decode the message */
@@ -172,7 +172,7 @@ int main() {
olm_inbound_group_session(inbound_session_memory);
size_t res = olm_init_inbound_group_session(
- inbound_session, 0U, session_key, sizeof(session_key)-1
+ inbound_session, session_key, sizeof(session_key)-1
);
assert_equals((size_t)0, res);