diff options
Diffstat (limited to 'src/libsimaka/simaka_message.h')
-rw-r--r-- | src/libsimaka/simaka_message.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libsimaka/simaka_message.h b/src/libsimaka/simaka_message.h index 28fe21823..209067c70 100644 --- a/src/libsimaka/simaka_message.h +++ b/src/libsimaka/simaka_message.h @@ -236,9 +236,10 @@ struct simaka_message_t { * Generate a message, optionally encrypt attributes and create a MAC. * * @param sigdata additional data to include in signature, if any - * @return allocated data of generated message + * @param gen allocated generated data, if successful + * @return TRUE if successful */ - chunk_t (*generate)(simaka_message_t *this, chunk_t sigdata); + bool (*generate)(simaka_message_t *this, chunk_t sigdata, chunk_t *gen); /** * Destroy a simaka_message_t. |