diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2019-02-14 18:06:36 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2019-02-14 18:06:36 +0000 |
commit | f1b77f7173fcac1dc64eac58234281d5b9abcdcb (patch) | |
tree | 41b59c22a2ed93197bbd634f985e4053bfd2cd76 /lib | |
parent | 0167bf49bcd38e8ba6a7d46d8703bb2e3ae440af (diff) |
Notify the record layer upon handshake completion.
ok tb@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/tls13_handshake.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libssl/tls13_handshake.c b/lib/libssl/tls13_handshake.c index 630f81a8a83..aeb490f3504 100644 --- a/lib/libssl/tls13_handshake.c +++ b/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 <tb@openbsd.org> * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> @@ -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) |