summaryrefslogtreecommitdiff
path: root/src/lib/libssl/Makefile
diff options
context:
space:
mode:
authorjsing <>2026-05-16 08:20:41 +0000
committerjsing <>2026-05-16 08:20:41 +0000
commit4aaf2a3333ff91e8329e1dddd19d905b9c523c02 (patch)
tree5809aca387325aef045e2152f28a8ac583810f9d /src/lib/libssl/Makefile
parent62c0685f0e88cb58cba8344db87c9f6b6c25adc2 (diff)
downloadopenbsd-4aaf2a3333ff91e8329e1dddd19d905b9c523c02.tar.gz
openbsd-4aaf2a3333ff91e8329e1dddd19d905b9c523c02.tar.bz2
openbsd-4aaf2a3333ff91e8329e1dddd19d905b9c523c02.zip
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@
Diffstat (limited to 'src/lib/libssl/Makefile')
-rw-r--r--src/lib/libssl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile
index 7e423b0b43..0d5934508a 100644
--- a/src/lib/libssl/Makefile
+++ b/src/lib/libssl/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.86 2026/04/03 07:26:20 jsing Exp $ 1# $OpenBSD: Makefile,v 1.87 2026/05/16 08:20:41 jsing Exp $
2 2
3.include <bsd.own.mk> 3.include <bsd.own.mk>
4.ifndef NOMAN 4.ifndef NOMAN
@@ -43,6 +43,7 @@ SRCS= \
43 d1_lib.c \ 43 d1_lib.c \
44 d1_pkt.c \ 44 d1_pkt.c \
45 d1_srtp.c \ 45 d1_srtp.c \
46 dtls12_handshake_msg.c \
46 pqueue.c \ 47 pqueue.c \
47 s3_cbc.c \ 48 s3_cbc.c \
48 s3_lib.c \ 49 s3_lib.c \