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

Andrew Cagney cagney at vault.libreswan.fi
Fri Dec 21 18:39:27 UTC 2018


New commits:
commit af6f5e13c78398bec37ea4e4bd45bdd51974d18b
Merge: c8ab901 a0c5158
Author: Andrew Cagney <cagney at gnu.org>
Date:   Fri Dec 21 13:31:50 2018 -0500

    state: add new_v[12]_state(), always set .st_ike_version
    
    Makes .st_ikev2 redundant.
    
    Merge commit 'a0c51584fc7510296473ed7296827834d1f70f2f'

commit a0c51584fc7510296473ed7296827834d1f70f2f
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Dec 18 21:05:18 2018 -0500

    state: define enum ike_version{IKEv1=1,IKEv2=2} - add .st_ike_version and set in new_state()
    
    Use to initialize, now redundant, .st_ikev2 field.  Replace old assigments
    with passert().
    
    Should be more robust than bool .st_ikev2 as neither a zero initialized, nor a
    scramble-after-free state are likely to be valid.

commit a81755cdd882d0db7befdfcb77e5f1365a847ecb
Author: Andrew Cagney <cagney at gnu.org>
Date:   Sun Dec 16 21:51:37 2018 -0500

    state: add new_v[12]_[r]state() as wrappers to new_state()



More information about the Swan-commit mailing list