aboutsummaryrefslogtreecommitdiff
path: root/tests/test_session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_session.cpp')
-rw-r--r--tests/test_session.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_session.cpp b/tests/test_session.cpp
index c4c5b2a..e2c3199 100644
--- a/tests/test_session.cpp
+++ b/tests/test_session.cpp
@@ -33,12 +33,12 @@ void check_session(const olm::Session &session) {
assert_equals(
decode_hex("f77a03eaa9b301fa7d2a5aa6b50286906de12cc96044f526dbbcb12839ad7003"),
- session.ratchet.sender_chain[0].ratchet_key.public_key, 32
+ session.ratchet.sender_chain[0].ratchet_key.public_key.public_key, 32
);
assert_equals(
decode_hex("d945c6ed4c7c277117adf11fb133a7936d287afe97c0b3ac989644b4490d4f31"),
- session.ratchet.sender_chain[0].ratchet_key.private_key, 32
+ session.ratchet.sender_chain[0].ratchet_key.private_key.private_key, 32
);
assert_equals(