CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/05/16 02:20:41
Modified files:
lib/libssl : Makefile d1_both.c d1_lib.c dtls_local.h
Added files:
lib/libssl : dtls12_handshake_msg.c dtls12_internal.h
Log message:
Introduce and use dtls12_handshake_msg.
Add struct dtls12_handshake_msg and various related functions, which
allow for the construction of DTLS handshake messages and associated
fragments.
Use this on the DTLS write path for sending handshake message fragments.
This means that we no longer modify the init buffer, which also fixes a
bug where the message callback is called with a corrupted handshake
message when multiple fragments have been sent.
We also now correctly track fragment offsets when sending a handshake
message that results in multiple calls to dtls1_do_write_handshake_message().
This is the first step towards further untangling of the write path in
the legacy TLS stack.
ok kenjiro@ tb@