Properly filter IKEv1 proposals consisting of multiple proposal payloads.
authorTobias Brunner <tobias@strongswan.org>
Wed, 23 May 2012 15:55:41 +0000 (17:55 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 24 May 2012 13:32:27 +0000 (15:32 +0200)
commit624bb24d1257e8198aabe1c8fc2bf3ea65136e2d
treef55977615e7e4cf44fb3bc4a42a785d4c58eff58
parentfda9f104b4a921bfc0ae4b47807bf3ad9d09815d
Properly filter IKEv1 proposals consisting of multiple proposal payloads.

Since a proposal_t object is created for each transform contained in the
proposal payload, it does not work to simply remove the last proposal_t
object added to the list (there may be several other extracted from the
previous proposal payload).
src/libcharon/encoding/payloads/sa_payload.c