aboutsummaryrefslogtreecommitdiff
path: root/include/olm/outbound_group_session.h
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-10-21 17:19:59 +0100
committerRichard van der Hoff <richard@matrix.org>2016-10-21 17:19:59 +0100
commit21ce3491dd39485eac35ad850257a20fc99f330d (patch)
tree9798efdf94043c662ef7ff6292e59eb0d360b709 /include/olm/outbound_group_session.h
parent5a98012c0d3951d2d08e9922ee682fbdecc68f0c (diff)
Clear random buf in olm_init_outbound_group_session
All the other methods clear their random inputs. This one needs to do the same, to reduce the risk of the randomness being used elsewhere and leaking key info.
Diffstat (limited to 'include/olm/outbound_group_session.h')
-rw-r--r--include/olm/outbound_group_session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/olm/outbound_group_session.h b/include/olm/outbound_group_session.h
index 90ccca3..663f1d2 100644
--- a/include/olm/outbound_group_session.h
+++ b/include/olm/outbound_group_session.h
@@ -96,7 +96,7 @@ size_t olm_init_outbound_group_session_random_length(
*/
size_t olm_init_outbound_group_session(
OlmOutboundGroupSession *session,
- uint8_t const * random, size_t random_length
+ uint8_t *random, size_t random_length
);
/**