summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_both.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/d1_both.c')
-rw-r--r--src/lib/libssl/d1_both.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c
index 0a0a80dad9..1e87d9e652 100644
--- a/src/lib/libssl/d1_both.c
+++ b/src/lib/libssl/d1_both.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_both.c,v 1.95 2026/06/06 15:22:25 jsing Exp $ */ 1/* $OpenBSD: d1_both.c,v 1.96 2026/06/06 15:24:26 jsing Exp $ */
2/* 2/*
3 * DTLS implementation written by Nagendra Modadugu 3 * DTLS implementation written by Nagendra Modadugu
4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -1164,6 +1164,19 @@ dtls1_get_message_header(CBS *header, struct hm_header_st *msg_hdr)
1164} 1164}
1165 1165
1166int 1166int
1167dtls12_ccs_built(SSL *s)
1168{
1169 s->d1->handshake_write_seq = s->d1->next_handshake_write_seq;
1170
1171 dtls1_set_message_header_int(s, SSL3_MT_CCS, 0,
1172 s->d1->handshake_write_seq, 0, 0);
1173
1174 dtls1_buffer_message(s, 1);
1175
1176 return 1;
1177}
1178
1179int
1167dtls12_handshake_msg_built(SSL *s) 1180dtls12_handshake_msg_built(SSL *s)
1168{ 1181{
1169 unsigned long len; 1182 unsigned long len;