Added not-yet used sa_payload parameters used in IKEv1
[strongswan.git] / src / conftest / hooks / set_proposal_number.c
index 32b0155..839ca1f 100644 (file)
@@ -121,7 +121,7 @@ METHOD(listener_t, message, bool,
                        }
                        enumerator->destroy(enumerator);
                }
-               sa = sa_payload_create_from_proposal_list(SECURITY_ASSOCIATION, updated);
+               sa = sa_payload_create_from_proposals_v2(updated);
                list->destroy_offset(list, offsetof(proposal_t, destroy));
                updated->destroy_offset(updated, offsetof(proposal_t, destroy));
                message->add_payload(message, (payload_t*)sa);