diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libssl/tls13_handshake.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libssl/tls13_handshake.c b/src/lib/libssl/tls13_handshake.c index 05446380dd..1825bfbf6c 100644 --- a/src/lib/libssl/tls13_handshake.c +++ b/src/lib/libssl/tls13_handshake.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_handshake.c,v 1.57 2020/05/09 15:47:11 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_handshake.c,v 1.58 2020/05/09 16:43:05 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018-2019 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2018-2019 Theo Buehler <tb@openbsd.org> |
4 | * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> |
@@ -102,6 +102,7 @@ static const struct tls13_handshake_action state_machine[] = { | |||
102 | .sender = TLS13_HS_SERVER, | 102 | .sender = TLS13_HS_SERVER, |
103 | .send = tls13_server_hello_retry_request_send, | 103 | .send = tls13_server_hello_retry_request_send, |
104 | .recv = tls13_server_hello_retry_request_recv, | 104 | .recv = tls13_server_hello_retry_request_recv, |
105 | .sent = tls13_server_hello_retry_request_sent, | ||
105 | }, | 106 | }, |
106 | [SERVER_ENCRYPTED_EXTENSIONS] = { | 107 | [SERVER_ENCRYPTED_EXTENSIONS] = { |
107 | .handshake_type = TLS13_MT_ENCRYPTED_EXTENSIONS, | 108 | .handshake_type = TLS13_MT_ENCRYPTED_EXTENSIONS, |
@@ -373,6 +374,12 @@ tls13_handshake_send_action(struct tls13_ctx *ctx, | |||
373 | if (action->sent != NULL && !action->sent(ctx)) | 374 | if (action->sent != NULL && !action->sent(ctx)) |
374 | return TLS13_IO_FAILURE; | 375 | return TLS13_IO_FAILURE; |
375 | 376 | ||
377 | if (ctx->send_dummy_ccs) { | ||
378 | if ((ret = tls13_send_dummy_ccs(ctx->rl)) != TLS13_IO_SUCCESS) | ||
379 | return ret; | ||
380 | ctx->send_dummy_ccs = 0; | ||
381 | } | ||
382 | |||
376 | return TLS13_IO_SUCCESS; | 383 | return TLS13_IO_SUCCESS; |
377 | } | 384 | } |
378 | 385 | ||