diff options
author | jsing <> | 2019-02-25 16:46:17 +0000 |
---|---|---|
committer | jsing <> | 2019-02-25 16:46:17 +0000 |
commit | 395120b4a264fb5eaadb4e8296f4d6bec2216b6b (patch) | |
tree | cebaae5d5b5ab740d82c2b521bc74611d3160eb0 /src/lib/libssl/tls13_internal.h | |
parent | 320d76ea5cdfa7ca71accff1e8bbc5ee3bf1ac34 (diff) | |
download | openbsd-395120b4a264fb5eaadb4e8296f4d6bec2216b6b.tar.gz openbsd-395120b4a264fb5eaadb4e8296f4d6bec2216b6b.tar.bz2 openbsd-395120b4a264fb5eaadb4e8296f4d6bec2216b6b.zip |
Add a handshake action sent handler and use it for client finished.
The write traffic key needs to be changed to the client application traffic
key after the client finished message has been sent. The send handler
generates the client finished message, however we cannot switch keys at
this stage since the client finished message has not yet been protected
by the record layer.
ok tb@
Diffstat (limited to 'src/lib/libssl/tls13_internal.h')
-rw-r--r-- | src/lib/libssl/tls13_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/tls13_internal.h b/src/lib/libssl/tls13_internal.h index 0e26d9c01c..b3b510c690 100644 --- a/src/lib/libssl/tls13_internal.h +++ b/src/lib/libssl/tls13_internal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_internal.h,v 1.21 2019/02/25 14:36:25 inoguchi Exp $ */ | 1 | /* $OpenBSD: tls13_internal.h,v 1.22 2019/02/25 16:46:17 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> |
4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> |
@@ -244,6 +244,7 @@ int tls13_client_certificate_verify_send(struct tls13_ctx *ctx); | |||
244 | int tls13_client_certificate_verify_recv(struct tls13_ctx *ctx); | 244 | int tls13_client_certificate_verify_recv(struct tls13_ctx *ctx); |
245 | int tls13_client_finished_recv(struct tls13_ctx *ctx); | 245 | int tls13_client_finished_recv(struct tls13_ctx *ctx); |
246 | int tls13_client_finished_send(struct tls13_ctx *ctx); | 246 | int tls13_client_finished_send(struct tls13_ctx *ctx); |
247 | int tls13_client_finished_sent(struct tls13_ctx *ctx); | ||
247 | int tls13_client_key_update_send(struct tls13_ctx *ctx); | 248 | int tls13_client_key_update_send(struct tls13_ctx *ctx); |
248 | int tls13_client_key_update_recv(struct tls13_ctx *ctx); | 249 | int tls13_client_key_update_recv(struct tls13_ctx *ctx); |
249 | int tls13_server_hello_recv(struct tls13_ctx *ctx); | 250 | int tls13_server_hello_recv(struct tls13_ctx *ctx); |