aboutsummaryrefslogtreecommitdiff
path: root/include/olm
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
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')
-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
);
/**