Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
4d6c3ba8
Commit
4d6c3ba8
authored
Aug 06, 2021
by
Hubert Chathi
Browse files
make account const in create_outbound_session
parent
b70e0b06
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/olm/olm.h
View file @
4d6c3ba8
...
...
@@ -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
...
...
src/olm.cpp
View file @
4d6c3ba8
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment