[Swan-dev] pluto replying with both v2N_INVALID_KE_PAYLOAD then v2N_NO_PROPOSAL_CHOSEN?

Andrew Cagney andrew.cagney at gmail.com
Mon Jul 10 18:27:31 UTC 2017


Yea,

On 8 July 2017 at 07:28, Paul Wouters <paul at nohats.ca> wrote:

>> it seems to be related to c4c2c62a
>
>
> It does, looking at the diff:
>
> -                       return STF_FAIL;
> -               }
> +       if (ike2_match_ke_group_and_prop(md, accepted_oakley) ==
> STF_FAIL) {
> +               free_ikev2_proposal(&accepted_ike_proposal);
> +               return STF_FAIL + v2N_NO_PROPOSAL_CHOSEN;
>         }
>
> It went from STF_FAIL to STF_FAIL + v2N_NO_PROPOSAL_CHOSEN

I pushed the obvious change - it was happening in two places.

Andrew


More information about the Swan-dev mailing list