From dceae043b30efb672acf41b21fbb335a6710b3c1 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Wed, 8 Jul 2015 14:57:55 +0100 Subject: Remove the RemoteKey type since it wasn't being used --- include/olm/session.hh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'include/olm') diff --git a/include/olm/session.hh b/include/olm/session.hh index 4d674e5..1c04108 100644 --- a/include/olm/session.hh +++ b/include/olm/session.hh @@ -21,18 +21,11 @@ namespace olm { class Account; -struct RemoteKey { - std::uint32_t id; - Curve25519PublicKey key; -}; - - enum struct MessageType { PRE_KEY = 0, MESSAGE = 1, }; - struct Session { Session(); @@ -42,7 +35,7 @@ struct Session { bool received_message; - RemoteKey alice_identity_key; + Curve25519PublicKey alice_identity_key; Curve25519PublicKey alice_base_key; Curve25519PublicKey bob_one_time_key; std::uint32_t bob_one_time_key_id; @@ -52,7 +45,7 @@ struct Session { std::size_t new_outbound_session( Account const & local_account, Curve25519PublicKey const & identity_key, - RemoteKey const & one_time_key, + Curve25519PublicKey const & one_time_key, std::uint8_t const * random, std::size_t random_length ); -- cgit v1.2.3