aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-09-13 17:54:14 +0100
committerGitHub <noreply@github.com>2016-09-13 17:54:14 +0100
commitd7bc00c81d9f98d88e77f55056d6cebab90d8f85 (patch)
treede9a6b0a638f24724cf6cf36baea98dc6ed0a265 /tests
parent1a50a4b3a0bd38326a7f2327df5513072763ba65 (diff)
parenta628ef41bd5b860b89a3e2e29df56a461e85fa00 (diff)
Merge pull request #23 from matrix-org/markjh/remove_message_index
Remove the messsage index from olm_init_inbound_group_session
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 094c744..9930927 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);
@@ -192,7 +192,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);