diff options
author | beck <> | 2020-01-21 03:40:05 +0000 |
---|---|---|
committer | beck <> | 2020-01-21 03:40:05 +0000 |
commit | 46c0c6a7b768b3aa9319915bd3af13633e7745e2 (patch) | |
tree | 137affc52a2dd50575dbc6c92f552e962fb9c96b /src/lib/libssl/tls13_internal.h | |
parent | 5acce3f58ab8ea3f51a29f1fd7044fcf134f5b06 (diff) | |
download | openbsd-46c0c6a7b768b3aa9319915bd3af13633e7745e2.tar.gz openbsd-46c0c6a7b768b3aa9319915bd3af13633e7745e2.tar.bz2 openbsd-46c0c6a7b768b3aa9319915bd3af13633e7745e2.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 '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 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 | }; |