aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa/ikev2/keymat_v2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/sa/ikev2/keymat_v2.h')
-rw-r--r--src/libcharon/sa/ikev2/keymat_v2.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libcharon/sa/ikev2/keymat_v2.h b/src/libcharon/sa/ikev2/keymat_v2.h
index a3167a13c..04432f05b 100644
--- a/src/libcharon/sa/ikev2/keymat_v2.h
+++ b/src/libcharon/sa/ikev2/keymat_v2.h
@@ -99,11 +99,12 @@ struct keymat_v2_t {
* @param nonce nonce value
* @param id identity
* @param reserved reserved bytes of id_payload
- * @return authentication octets
+ * @param octests chunk receiving allocated auth octets
+ * @return TRUE if octets created successfully
*/
- chunk_t (*get_auth_octets)(keymat_v2_t *this, bool verify,
- chunk_t ike_sa_init, chunk_t nonce,
- identification_t *id, char reserved[3]);
+ bool (*get_auth_octets)(keymat_v2_t *this, bool verify, chunk_t ike_sa_init,
+ chunk_t nonce, identification_t *id,
+ char reserved[3], chunk_t *octets);
/**
* Build the shared secret signature used for PSK and EAP authentication.
*