diff options
author | 2019-02-14 18:06:35 +0000 | |
---|---|---|
committer | 2019-02-14 18:06:35 +0000 | |
commit | bc24f2b9cf276765722165e09516d9b0da65e5ac (patch) | |
tree | 26b81efb9b8ec0a4878567d559985460c80c38f2 /lib/libssl/tls13_handshake.c | |
parent | Switch to application traffic keys as appropriate. (diff) | |
download | wireguard-openbsd-bc24f2b9cf276765722165e09516d9b0da65e5ac.tar.xz wireguard-openbsd-bc24f2b9cf276765722165e09516d9b0da65e5ac.zip |
Notify the record layer upon handshake completion.
ok tb@
Diffstat (limited to 'lib/libssl/tls13_handshake.c')
-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) |