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

D. Hugh Redelmeier hugh at vault.libreswan.fi
Mon Mar 29 21:38:17 UTC 2021


New commits:
commit b3b8cd668e5f4306816376ee444eebec4822b6c1
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date:   Mon Mar 29 17:23:21 2021 -0400

    pluto: ikev2_spdb_struct.c: fix a couple of problems
    
    jam_v2_proposal:
    
    - previous version tried to motor through a buffer overflow.  I think
      that it is impossible; added a passert to check.
    
    - use jam_hex_bytes to eliminate a loop.
    
    - previously used sizeof(proposal->remote_spi.size) where
      sizeof(proposal->remote_spi.bytes) was meant.  Twice.  Fixed.
    
    ikev2_proposal_to_proto_info:
    
    - seemed to ignore (with warning) an (probably) impossible case.
      Instead, it now rejects that case.

commit c20e0d3a789bd9a457205e5e1be00808f4528147
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date:   Mon Mar 29 17:22:03 2021 -0400

    libswan: slightly simplify jam_bytes.c

commit d744a0fb8cdd660f35b32aa97b8ad4b78efb986b
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date:   Mon Mar 29 16:45:02 2021 -0400

    testing/utils/pcap2skb/pcap2skb.c: simplify
    
    Reworked contorted loop structure.
    Reduced scope of autos.
    Added "static" and "const".
    Fixed innocuous signedness sloppiness.
    UNTESTED



More information about the Swan-commit mailing list