summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_clnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_clnt.c')
-rw-r--r--src/lib/libssl/ssl_clnt.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/libssl/ssl_clnt.c b/src/lib/libssl/ssl_clnt.c
index b59ffa0eff..c7db7257b5 100644
--- a/src/lib/libssl/ssl_clnt.c
+++ b/src/lib/libssl/ssl_clnt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_clnt.c,v 1.172 2026/05/31 14:34:44 jsing Exp $ */ 1/* $OpenBSD: ssl_clnt.c,v 1.173 2026/06/06 15:24:26 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -2258,11 +2258,8 @@ ssl3_send_client_change_cipher_spec(SSL *s)
2258 s->init_off = 0; 2258 s->init_off = 0;
2259 2259
2260 if (SSL_is_dtls(s)) { 2260 if (SSL_is_dtls(s)) {
2261 s->d1->handshake_write_seq = 2261 if (!dtls12_ccs_built(s))
2262 s->d1->next_handshake_write_seq; 2262 goto err;
2263 dtls1_set_message_header_int(s, SSL3_MT_CCS, 0,
2264 s->d1->handshake_write_seq, 0, 0);
2265 dtls1_buffer_message(s, 1);
2266 } 2263 }
2267 2264
2268 s->s3->hs.state = SSL3_ST_CW_CHANGE_B; 2265 s->s3->hs.state = SSL3_ST_CW_CHANGE_B;