diff options
-rw-r--r-- | src/lib/libssl/tls13_handshake.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libssl/tls13_handshake.c b/src/lib/libssl/tls13_handshake.c index 630f81a8a8..aeb490f350 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.27 2019/02/13 16:28:28 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_handshake.c,v 1.28 2019/02/14 18:06:35 jsing 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> |
@@ -294,8 +294,10 @@ tls13_handshake_perform(struct tls13_ctx *ctx) | |||
294 | if ((action = tls13_handshake_active_action(ctx)) == NULL) | 294 | if ((action = tls13_handshake_active_action(ctx)) == NULL) |
295 | return TLS13_IO_FAILURE; | 295 | return TLS13_IO_FAILURE; |
296 | 296 | ||
297 | if (action->handshake_complete) | 297 | if (action->handshake_complete) { |
298 | tls13_record_layer_handshake_completed(ctx->rl); | ||
298 | return TLS13_IO_SUCCESS; | 299 | return TLS13_IO_SUCCESS; |
300 | } | ||
299 | 301 | ||
300 | if (action->sender == ctx->mode) { | 302 | if (action->sender == ctx->mode) { |
301 | if ((ret = tls13_handshake_send_action(ctx, action)) <= 0) | 303 | if ((ret = tls13_handshake_send_action(ctx, action)) <= 0) |