New commits:
commit 74e90e2ab3b9df5bb52cb5b07fe8272035ba7976
Merge: 54b51ee764 9dfe3a734e
Author: Andrew Cagney <[email protected]>
Date:   Sun May 11 07:38:25 2025 -0400

    Merge ikev2 ppk: eliminate "cast away const!"
    
    as in:
    
      /* cast away const! */
      chunk_t ppk_id = chunk2((void *) ppk_ids_shunks->item[i].ptr,
                              ppk_ids_shunks->item[i].len);
    
    it turns out that the code manipulating .ppk_id and .ppk_confirmantion
    has a lifetime of a single code block.  Hence, instead of cloning (or
    pretending to) the fields, the code can just use pointers into either
    the PBS or the connection.

commit 9dfe3a734ea5acea70081a50a20dc00d9d1ecea2
Author: Andrew Cagney <[email protected]>
Date:   Sat May 10 18:03:46 2025 -0400

    ikev2 ppk: make struct ppk_id_payload variables const

commit cabcdee6bcd3358c47a368a18384c8b2fd666107
Author: Andrew Cagney <[email protected]>
Date:   Sat May 10 17:29:54 2025 -0400

    ikev2 ppk: make .ppk_id const aka shunk_t

commit 6529b141e6b8c41f8823daf912e38a4a94dc3054
Author: Andrew Cagney <[email protected]>
Date:   Sat May 10 11:33:16 2025 -0400

    ikev2 ppk: change .ppk_confirmation to a shunk_t when reading payload
    
    pointers lifetime is much less than input_pbs

commit fdc5328201d94b8b1d570332163c964066adaa23
Author: Andrew Cagney <[email protected]>
Date:   Sat May 10 11:51:50 2025 -0400

    ikev2 ppk: in extract_v2N_ppk_id_key() use hunk_slice() ...
    
    ... to carve up the ID+CONFIRMATION.

commit 27b2137899ae5ddda24f12e5dffef46d202ede47
Author: Andrew Cagney <[email protected]>
Date:   Sat May 10 11:09:47 2025 -0400

    ikev2 ppk: make an ppk_id variable more local

commit 597e13e95480d980a745787c175a67aabe00c18b
Author: Andrew Cagney <[email protected]>
Date:   Sat May 10 17:57:47 2025 -0400

    ikev2 ppk: in extract_v2N_ppk_id_key() use ppk_id_payload()

commit a33fdc1e80572f01b548d0b4256aab1be209d728
Author: Andrew Cagney <[email protected]>
Date:   Sat May 10 10:47:20 2025 -0400

    ikev2 ppk: rename create_ppk_id_payload() to ppk_id_payload() update
    
    - return the struct (bool value always ignored)
    - pass chunk_t in by value
    - pass type in (so it's explicit in callers)
    - direct initialize callers

commit b4fb0987a774755a4f05be1a199d10e000de1a95
Author: Andrew Cagney <[email protected]>
Date:   Fri May 9 14:53:23 2025 -0400

    ikev2 pkk: pass a shunk_t into get_connection_ppk()
    
    not a chunk

commit c5987131ed78af113b0f8e29f59cc03bde894ff7
Author: Andrew Cagney <[email protected]>
Date:   Sat May 10 17:29:04 2025 -0400

    logging: in llog_dump(), check for NULL

_______________________________________________
Swan-commit mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to