summaryrefslogtreecommitdiff
path: root/src/libsimaka/simaka_message.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsimaka/simaka_message.h')
-rw-r--r--src/libsimaka/simaka_message.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libsimaka/simaka_message.h b/src/libsimaka/simaka_message.h
index 28fe21823..32c39a348 100644
--- a/src/libsimaka/simaka_message.h
+++ b/src/libsimaka/simaka_message.h
@@ -26,7 +26,7 @@
#ifndef SIMAKA_MESSAGE_H_
#define SIMAKA_MESSAGE_H_
-#include <enum.h>
+#include <utils/enum.h>
#include <eap/eap.h>
#include "simaka_crypto.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.