Change the SA payload parser to parse more than the first proposal. This
authorpatrick <patrick@openbsd.org>
Thu, 7 Dec 2017 22:47:28 +0000 (22:47 +0000)
committerpatrick <patrick@openbsd.org>
Thu, 7 Dec 2017 22:47:28 +0000 (22:47 +0000)
commit3ecfc5845189f17d35f854f690e45c450b522529
treee0dd184b68bfb84c06879a9f742d3daeb1c67ce5
parent96f5f0ed2bdff0ff53fd7b9b5bdc9cd904b0af2e
Change the SA payload parser to parse more than the first proposal.  This
allows us to select one of the peer's proposals (and not only the first).

ok sthen@ hshoexer@
sbin/iked/ikev2_pld.c