From 5291ec78b5e0187aa873f911b9d907aa0139def5 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Wed, 8 Jul 2015 14:53:25 +0100 Subject: Send the public part of the one time key rather than passing an identifier --- src/olm.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/olm.cpp') 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 -- cgit v1.2.3