aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/olm/message.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/olm/message.h b/include/olm/message.h
index cff15f3..e80d54c 100644
--- a/include/olm/message.h
+++ b/include/olm/message.h
@@ -53,8 +53,10 @@ size_t _olm_encode_group_message_length(
* olm_encode_group_message_length() bytes long.
* ciphertext_ptr: returns the address that the ciphertext
* should be written to, followed by the MAC.
+ *
+ * Returns the size of the message, up to the MAC.
*/
-void _olm_encode_group_message(
+size_t _olm_encode_group_message(
uint8_t version,
const uint8_t *session_id,
size_t session_id_length,