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

Andrew Cagney cagney at vault.libreswan.fi
Wed Mar 13 01:20:48 EET 2024


New commits:
commit 099cdf90625167c43ea7d25a6a521a65497ce0a9
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Mar 12 15:25:34 2024 -0400

    ikev1: update echo_id()
    
    - build a new ID header using fields from the received header
    
      Not the entire old header.  Code was copying .reserved leaving
      it with what ever was on the wire.
    
    - replace pointer math and pbs_room() with pbs_in_all() + hunk_slice()
    
      Note that pbs_in_left() isn't used here as the caller is modifying
      the ID's PBS when parsing the ID.  In hindsite, not the best idea.
    
    - use pbs_out_struct() / pbs_out_hunk() / struct pbs_out



More information about the Swan-commit mailing list