From bcbe5dcae6ade1b7a990956d0fe910175bfdbfe6 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Thu, 14 Feb 2019 18:06:35 +0000 Subject: Notify the record layer upon handshake completion. ok tb@ --- src/lib/libssl/tls13_handshake.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib') 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 @@ -/* $OpenBSD: tls13_handshake.c,v 1.27 2019/02/13 16:28:28 jsing Exp $ */ +/* $OpenBSD: tls13_handshake.c,v 1.28 2019/02/14 18:06:35 jsing Exp $ */ /* * Copyright (c) 2018-2019 Theo Buehler * Copyright (c) 2019 Joel Sing @@ -294,8 +294,10 @@ tls13_handshake_perform(struct tls13_ctx *ctx) if ((action = tls13_handshake_active_action(ctx)) == NULL) return TLS13_IO_FAILURE; - if (action->handshake_complete) + if (action->handshake_complete) { + tls13_record_layer_handshake_completed(ctx->rl); return TLS13_IO_SUCCESS; + } if (action->sender == ctx->mode) { if ((ret = tls13_handshake_send_action(ctx, action)) <= 0) -- cgit v1.2.3-55-g6feb