make account const in create_outbound_session

classic_import
Hubert Chathi 2021-08-06 17:29:56 -04:00
parent b70e0b06df
commit 4d6c3ba8d1
2 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ size_t olm_create_outbound_session_random_length(
* be "NOT_ENOUGH_RANDOM". */
size_t olm_create_outbound_session(
OlmSession * session,
OlmAccount * account,
OlmAccount const * account,
void const * their_identity_key, size_t their_identity_key_length,
void const * their_one_time_key, size_t their_one_time_key_length,
void * random, size_t random_length

View File

@ -504,7 +504,7 @@ size_t olm_create_outbound_session_random_length(
size_t olm_create_outbound_session(
OlmSession * session,
OlmAccount * account,
OlmAccount const * account,
void const * their_identity_key, size_t their_identity_key_length,
void const * their_one_time_key, size_t their_one_time_key_length,
void * random, size_t random_length