diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-10-21 17:19:59 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-10-21 17:19:59 +0100 |
commit | 21ce3491dd39485eac35ad850257a20fc99f330d (patch) | |
tree | 9798efdf94043c662ef7ff6292e59eb0d360b709 /include | |
parent | 5a98012c0d3951d2d08e9922ee682fbdecc68f0c (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')
-rw-r--r-- | include/olm/outbound_group_session.h | 2 |
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 ); /** |