diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-07-08 14:53:25 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-07-08 14:53:25 +0100 |
commit | 5291ec78b5e0187aa873f911b9d907aa0139def5 (patch) | |
tree | 16e95740fd8c4455c109dee07e438431c63c1c53 /src/olm.cpp | |
parent | 974e0984bd0d618093669780a75739d4b02fd3b2 (diff) |
Send the public part of the one time key rather than passing an identifier
Diffstat (limited to 'src/olm.cpp')
-rw-r--r-- | src/olm.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/olm.cpp b/src/olm.cpp index a9735a5..c1bfd4d 100644 --- a/src/olm.cpp +++ b/src/olm.cpp @@ -425,7 +425,6 @@ size_t olm_create_outbound_session( OlmSession * session, OlmAccount * account, void const * their_identity_key, size_t their_identity_key_length, - unsigned their_one_time_key_id, void const * their_one_time_key, size_t their_one_time_key_length, void const * random, size_t random_length ) { @@ -442,7 +441,6 @@ size_t olm_create_outbound_session( from_c(their_identity_key), their_identity_key_length, identity_key.public_key ); - one_time_key.id = their_one_time_key_id; olm::decode_base64( from_c(their_one_time_key), their_one_time_key_length, one_time_key.key.public_key |