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

Andrew Cagney cagney at vault.libreswan.fi
Wed Oct 23 13:35:53 UTC 2019


New commits:
commit 942840a1fc25491033bb71ef22f2ee5b13df68ba
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Oct 21 17:55:41 2019 -0400

    id: break build_id_payload() up into build_{v1,v2}_payload() and id_to_payload()
    
    Don't rely on IKEv1 and IKEv2 ID payload headers having roughly the
    same layout and identical size (there was a zero() and field
    assignment to a cast parameter).
    
    Eliminate more DISCARD_CONSTs.  Eliminate more .*_np = ....s.
    
    Don't touch IKEv1 code with comment: id_hd should be struct isakmp_id,
    but struct isakmp_ipsec_id allows build_id_payload() to work for both
    phases.



More information about the Swan-commit mailing list