summaryrefslogtreecommitdiffstats
path: root/lib/libssl/tls13_handshake.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-02-05 06:12:43 +0000
committertb <tb@openbsd.org>2020-02-05 06:12:43 +0000
commit753de96b64f94299bc1d3cc9029cb07bcab2075a (patch)
treed861a9199aad4c9af471d6d1ad53efc5883fcbd7 /lib/libssl/tls13_handshake.c
parentiterated_hash is unused (diff)
downloadwireguard-openbsd-753de96b64f94299bc1d3cc9029cb07bcab2075a.tar.xz
wireguard-openbsd-753de96b64f94299bc1d3cc9029cb07bcab2075a.zip
Rework tls13_legacy_handshake_message_{recv,sent}_cb() to use
their own CBS as a preparation for upcoming HRR diffs. ok jsing
Diffstat (limited to 'lib/libssl/tls13_handshake.c')
-rw-r--r--lib/libssl/tls13_handshake.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/tls13_handshake.c b/lib/libssl/tls13_handshake.c
index 31bd796b93a..c850e716e76 100644
--- a/lib/libssl/tls13_handshake.c
+++ b/lib/libssl/tls13_handshake.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_handshake.c,v 1.49 2020/01/29 13:44:42 tb Exp $ */
+/* $OpenBSD: tls13_handshake.c,v 1.50 2020/02/05 06:12:43 tb Exp $ */
/*
* Copyright (c) 2018-2019 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2019 Joel Sing <jsing@openbsd.org>
@@ -355,7 +355,7 @@ tls13_handshake_send_action(struct tls13_ctx *ctx,
}
if (ctx->handshake_message_sent_cb != NULL)
- ctx->handshake_message_sent_cb(ctx, &cbs);
+ ctx->handshake_message_sent_cb(ctx);
tls13_handshake_msg_free(ctx->hs_msg);
ctx->hs_msg = NULL;
@@ -394,7 +394,7 @@ tls13_handshake_recv_action(struct tls13_ctx *ctx,
return TLS13_IO_FAILURE;
if (ctx->handshake_message_recv_cb != NULL)
- ctx->handshake_message_recv_cb(ctx, &cbs);
+ ctx->handshake_message_recv_cb(ctx);
/*
* In TLSv1.3 there is no way to know if you're going to receive a