diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-07-08 14:57:55 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-07-08 14:57:55 +0100 |
commit | dceae043b30efb672acf41b21fbb335a6710b3c1 (patch) | |
tree | 028a711eae2af659e7bc24057916f86b9a5fb021 /src/olm.cpp | |
parent | 5291ec78b5e0187aa873f911b9d907aa0139def5 (diff) |
Remove the RemoteKey type since it wasn't being used
Diffstat (limited to 'src/olm.cpp')
-rw-r--r-- | src/olm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/olm.cpp b/src/olm.cpp index c1bfd4d..8106917 100644 --- a/src/olm.cpp +++ b/src/olm.cpp @@ -435,7 +435,7 @@ size_t olm_create_outbound_session( return std::size_t(-1); } olm::Curve25519PublicKey identity_key; - olm::RemoteKey one_time_key; + olm::Curve25519PublicKey one_time_key; olm::decode_base64( from_c(their_identity_key), their_identity_key_length, @@ -443,7 +443,7 @@ size_t olm_create_outbound_session( ); olm::decode_base64( from_c(their_one_time_key), their_one_time_key_length, - one_time_key.key.public_key + one_time_key.public_key ); return from_c(session)->new_outbound_session( |