diff options
| author | jsing <> | 2020-05-23 11:57:41 +0000 |
|---|---|---|
| committer | jsing <> | 2020-05-23 11:57:41 +0000 |
| commit | f86aed14e0c6aa8ca6801c96a09053919b85137e (patch) | |
| tree | 9da31ab6ebed3c08f9ad15eb52125befdd8d966a /src/lib/libssl/tls13_internal.h | |
| parent | a9700fd0915e5d1628e4345958d4fbf17e580dd7 (diff) | |
| download | openbsd-f86aed14e0c6aa8ca6801c96a09053919b85137e.tar.gz openbsd-f86aed14e0c6aa8ca6801c96a09053919b85137e.tar.bz2 openbsd-f86aed14e0c6aa8ca6801c96a09053919b85137e.zip | |
Provide the option to retry or return after post-handshake messages.
In TLSv1.3 post-handshake handshake messages are used for key updates and
session tickets. These are in-band and mean that when the upper layer goes
to read application data, we can end up reading and having to process
handshake messages - this option changes whether we retry and read the
next TLS record, or if we return, signalling that we want more data to
be available.
ok beck@ inoguchi@ tb@
Diffstat (limited to '')
| -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 7e188981f4..770c18d6ad 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.81 2020/05/19 01:30:34 beck Exp $ */ | 1 | /* $OpenBSD: tls13_internal.h,v 1.82 2020/05/23 11:57:41 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> |
| @@ -198,6 +198,7 @@ void tls13_record_layer_set_hash(struct tls13_record_layer *rl, | |||
| 198 | const EVP_MD *hash); | 198 | const EVP_MD *hash); |
| 199 | void tls13_record_layer_set_legacy_version(struct tls13_record_layer *rl, | 199 | void tls13_record_layer_set_legacy_version(struct tls13_record_layer *rl, |
| 200 | uint16_t version); | 200 | uint16_t version); |
| 201 | void tls13_record_layer_set_retry_after_phh(struct tls13_record_layer *rl, int retry); | ||
| 201 | void tls13_record_layer_handshake_completed(struct tls13_record_layer *rl); | 202 | void tls13_record_layer_handshake_completed(struct tls13_record_layer *rl); |
| 202 | int tls13_record_layer_set_read_traffic_key(struct tls13_record_layer *rl, | 203 | int tls13_record_layer_set_read_traffic_key(struct tls13_record_layer *rl, |
| 203 | struct tls13_secret *read_key); | 204 | struct tls13_secret *read_key); |
