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

Andrew Cagney cagney at vault.libreswan.fi
Fri Mar 19 13:51:48 UTC 2021

New commits:
commit 472f06411044c33d14a2cdd3a30c841fb7aa8a77
Author: Andrew Cagney <cagney at gnu.org>
Date:   Thu Mar 18 21:20:23 2021 -0400

    connection: move the read-only config values in {this,that}.raw to connection .config[2]
    These are per-"conn" values from the original whack-add command. They
    shouldn't be modified and don't need to be duplicated across SPDs /
    ends / templates.
    In struct end, .raw is replaced by .config - a pointer to a const
    version of the above (which should makes modify them accidently really
    hard :-).
    Several notes:
    - are there other fields in struct end that can be moved to struct
    - should struct end be split into struct host_end (one per connection)
      and struct client_end (spd_end) (multiple per connection)
    - there's also connection .{local,remote} which track orientation (not
      sure about these)

More information about the Swan-commit mailing list