diff options
author | Martin Willi <martin@revosec.ch> | 2012-01-19 16:22:25 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-03-20 17:31:37 +0100 |
commit | 47b8f6ef4b3637e94d4b211721b38ba263f6d9c0 (patch) | |
tree | 71614d59135d8d7d09d742c207183502170b2909 /src/conftest/hooks/ike_auth_fill.c | |
parent | ae92641806c1b45d266487590f13f622c0478d1d (diff) | |
download | strongswan-47b8f6ef4b3637e94d4b211721b38ba263f6d9c0.tar.bz2 strongswan-47b8f6ef4b3637e94d4b211721b38ba263f6d9c0.tar.xz |
Invoke bus_t.message hook twice, once plain and parsed, once encoded and encrypted
Diffstat (limited to 'src/conftest/hooks/ike_auth_fill.c')
-rw-r--r-- | src/conftest/hooks/ike_auth_fill.c | 4 |
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) { |