diff options
| author | tb <> | 2020-02-05 06:12:43 +0000 |
|---|---|---|
| committer | tb <> | 2020-02-05 06:12:43 +0000 |
| commit | 1a2b524e1d75b6648b7d3699d676939326443a38 (patch) | |
| tree | 2294088e149a61d156b174d66775d37a987dcc32 /src/lib/libssl/tls13_handshake.c | |
| parent | 55e955577ce91cf9355af5e89ceb0e839a704456 (diff) | |
| download | openbsd-1a2b524e1d75b6648b7d3699d676939326443a38.tar.gz openbsd-1a2b524e1d75b6648b7d3699d676939326443a38.tar.bz2 openbsd-1a2b524e1d75b6648b7d3699d676939326443a38.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 '')
| -rw-r--r-- | src/lib/libssl/tls13_handshake.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/tls13_handshake.c b/src/lib/libssl/tls13_handshake.c index 31bd796b93..c850e716e7 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.49 2020/01/29 13:44:42 tb Exp $ */ | 1 | /* $OpenBSD: tls13_handshake.c,v 1.50 2020/02/05 06:12:43 tb 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> |
| @@ -355,7 +355,7 @@ tls13_handshake_send_action(struct tls13_ctx *ctx, | |||
| 355 | } | 355 | } |
| 356 | 356 | ||
| 357 | if (ctx->handshake_message_sent_cb != NULL) | 357 | if (ctx->handshake_message_sent_cb != NULL) |
| 358 | ctx->handshake_message_sent_cb(ctx, &cbs); | 358 | ctx->handshake_message_sent_cb(ctx); |
| 359 | 359 | ||
| 360 | tls13_handshake_msg_free(ctx->hs_msg); | 360 | tls13_handshake_msg_free(ctx->hs_msg); |
| 361 | ctx->hs_msg = NULL; | 361 | ctx->hs_msg = NULL; |
| @@ -394,7 +394,7 @@ tls13_handshake_recv_action(struct tls13_ctx *ctx, | |||
| 394 | return TLS13_IO_FAILURE; | 394 | return TLS13_IO_FAILURE; |
| 395 | 395 | ||
| 396 | if (ctx->handshake_message_recv_cb != NULL) | 396 | if (ctx->handshake_message_recv_cb != NULL) |
| 397 | ctx->handshake_message_recv_cb(ctx, &cbs); | 397 | ctx->handshake_message_recv_cb(ctx); |
| 398 | 398 | ||
| 399 | /* | 399 | /* |
| 400 | * In TLSv1.3 there is no way to know if you're going to receive a | 400 | * In TLSv1.3 there is no way to know if you're going to receive a |
