diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-07-16 10:45:10 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-07-16 10:45:10 +0100 |
commit | 89d9b972a6d629648d18f4227a08596c65c3894d (patch) | |
tree | 8859231d4d4d73bb56d00c055bac82f05ad34e48 /include/olm/session.hh | |
parent | 7523b700cf5c465a484519aabe0b428c54cb91a0 (diff) |
Add versions of olm_session_create_inbound and olm_session_matches_inbound which take the curve25519 identity key of the remote device we think the message is from as an additional argument
Diffstat (limited to 'include/olm/session.hh')
-rw-r--r-- | include/olm/session.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/olm/session.hh b/include/olm/session.hh index 125df68..b70ce6a 100644 --- a/include/olm/session.hh +++ b/include/olm/session.hh @@ -50,10 +50,12 @@ struct Session { std::size_t new_inbound_session( Account & local_account, + Curve25519PublicKey const * their_identity_key, std::uint8_t const * one_time_key_message, std::size_t message_length ); bool matches_inbound_session( + Curve25519PublicKey const * their_identity_key, std::uint8_t const * one_time_key_message, std::size_t message_length ); |