[Swan-commit] Changes to ref refs/heads/master

Andrew Cagney cagney at vault.libreswan.fi
Tue Apr 17 16:59:33 UTC 2018


New commits:
commit b2bd0f1b080d6cf5272b1f746bd3d3d0642cd60b
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Apr 16 21:26:50 2018 -0400

    packets: define separate IKEv2 TSi/TSr payload descriptors, clean up use
    
    Where the IKEv2 TSi and TSr payload descriptors have adjusted .name
    and .np field values.
    
    Clean up the code emitting the TSi and TSr payloads.  In addition to
    using the new struct_descs, replace MD parameter with CHILD_SA (only
    reason for MD was to get to the child state); and replace (incorrect)
    ORIGINAL_ROLE with SA_ROLE (could also use .st_sa_role, later).
    
    Also document long standing limitation where, should a connection ever
    contain multiple SPD route entries, the code would emit an invalid
    IKEv2 message: it would contain multiple identical TSi/TSr payloads;
    and next payload type would be wrong.



More information about the Swan-commit mailing list