diff options
author | Martin Willi <martin@revosec.ch> | 2011-11-24 11:39:31 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-03-20 17:30:52 +0100 |
commit | e174e0d4455e30a8d9a1900916a195f20588afdb (patch) | |
tree | 104f28bb73af56724f74fe4e7edf6edd9e06d839 /src/conftest/hooks/custom_proposal.c | |
parent | d08269c700d19bc362e6bd070abf69e87c42f025 (diff) | |
download | strongswan-e174e0d4455e30a8d9a1900916a195f20588afdb.tar.bz2 strongswan-e174e0d4455e30a8d9a1900916a195f20588afdb.tar.xz |
Added not-yet used sa_payload parameters used in IKEv1
Diffstat (limited to 'src/conftest/hooks/custom_proposal.c')
-rw-r--r-- | src/conftest/hooks/custom_proposal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conftest/hooks/custom_proposal.c b/src/conftest/hooks/custom_proposal.c index 9522335b1..4acea18ce 100644 --- a/src/conftest/hooks/custom_proposal.c +++ b/src/conftest/hooks/custom_proposal.c @@ -145,8 +145,7 @@ METHOD(listener_t, message, bool, proposal->get_protocol(proposal), proposal->get_spi(proposal)); DBG1(DBG_CFG, "injecting custom proposal: %#P", new_props); - new = sa_payload_create_from_proposal_list( - SECURITY_ASSOCIATION, new_props); + new = sa_payload_create_from_proposals_v2(new_props); message->add_payload(message, (payload_t*)new); new_props->destroy_offset(new_props, offsetof(proposal_t, destroy)); } |