summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
authorjsing <>2026-04-29 15:13:27 +0000
committerjsing <>2026-04-29 15:13:27 +0000
commitda79a6865de1c92d2576eff815dc5db434d73075 (patch)
tree8df5765d32585b0f15c4cf73ffb99f2260fe1ae3 /src/lib/libcrypto
parentdc2d3a2e58818a1cd2370eb926859e774cda4863 (diff)
downloadopenbsd-da79a6865de1c92d2576eff815dc5db434d73075.tar.gz
openbsd-da79a6865de1c92d2576eff815dc5db434d73075.tar.bz2
openbsd-da79a6865de1c92d2576eff815dc5db434d73075.zip
Split dtls1_do_write() into handshake message and CCS handling.
dtls1_do_write() is currently a single function that handles both handshake messages and CCS. This is a strange mix that only serves to complicate the code - handshake messages have their own headers and may need to be fragmented, while CCS must be sent verbatim (and only contain a single byte). Pull the CCS part out into a separate function, simplifying the code. By definition, when sending a CCS message the MTU will already be set appropriately. ok kenjiro@ tb@
Diffstat (limited to 'src/lib/libcrypto')
0 files changed, 0 insertions, 0 deletions