diff options
| author | beck <> | 2020-01-21 03:40:05 +0000 |
|---|---|---|
| committer | beck <> | 2020-01-21 03:40:05 +0000 |
| commit | fbbdf52bf77387e6b6c758c86c6d766e585de509 (patch) | |
| tree | 137affc52a2dd50575dbc6c92f552e962fb9c96b /src/lib/libssl/tls13_internal.h | |
| parent | ed7f8f6dda11c8c1660eca23718385c55ad9d449 (diff) | |
| download | openbsd-fbbdf52bf77387e6b6c758c86c6d766e585de509.tar.gz openbsd-fbbdf52bf77387e6b6c758c86c6d766e585de509.tar.bz2 openbsd-fbbdf52bf77387e6b6c758c86c6d766e585de509.zip | |
Add alert processing in tls client code, by adding alert to the
tls13 context, and emiting the alert at the upper layers when
the lower level code fails
ok jsing@, 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 41833f233f..530ace41af 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.37 2020/01/20 13:10:37 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_internal.h,v 1.38 2020/01/21 03:40:05 beck 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> |
| @@ -186,6 +186,7 @@ struct tls13_ctx { | |||
| 186 | struct tls13_record_layer *rl; | 186 | struct tls13_record_layer *rl; |
| 187 | struct tls13_handshake_msg *hs_msg; | 187 | struct tls13_handshake_msg *hs_msg; |
| 188 | uint8_t key_update_request; | 188 | uint8_t key_update_request; |
| 189 | uint8_t alert; | ||
| 189 | int phh_count; | 190 | int phh_count; |
| 190 | time_t phh_last_seen; | 191 | time_t phh_last_seen; |
| 191 | }; | 192 | }; |
