aboutsummaryrefslogtreecommitdiffstats
path: root/src/conftest/hooks/ike_auth_fill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conftest/hooks/ike_auth_fill.c')
-rw-r--r--src/conftest/hooks/ike_auth_fill.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/conftest/hooks/ike_auth_fill.c b/src/conftest/hooks/ike_auth_fill.c
index 2843d60c1..052a4be08 100644
--- a/src/conftest/hooks/ike_auth_fill.c
+++ b/src/conftest/hooks/ike_auth_fill.c
@@ -51,7 +51,10 @@ struct private_ike_auth_fill_t {
/** size of non ESP-Marker */
#define NON_ESP_MARKER_LEN 4
-
+/** length of fixed encryption payload header */
+#define ENCRYPTION_PAYLOAD_HEADER_LENGTH 4
+/** length of fixed cert payload header */
+#define CERT_PAYLOAD_HEADER_LENGTH 5
/**
* Calculate packet size on wire (without ethernet/IP header)
*/