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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conftest/hooks/ike_auth_fill.c b/src/conftest/hooks/ike_auth_fill.c
index 7362c19f4..09590d4f3 100644
--- a/src/conftest/hooks/ike_auth_fill.c
+++ b/src/conftest/hooks/ike_auth_fill.c
@@ -92,9 +92,9 @@ static size_t calculate_wire_size(message_t *message, ike_sa_t *ike_sa)
METHOD(listener_t, message, bool,
private_ike_auth_fill_t *this, ike_sa_t *ike_sa, message_t *message,
- bool incoming)
+ bool incoming, bool plain)
{
- if (!incoming &&
+ if (!incoming && plain &&
message->get_request(message) == this->req &&
message->get_message_id(message) == this->id)
{