diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2020-01-21 03:40:06 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2020-01-21 03:40:06 +0000 |
commit | a8bf765e46df28451faf215c13e75a46c6c54fe0 (patch) | |
tree | 46e2b1c945c6313b2c58c8e672edcc182030b1d9 /lib/libssl/tls13_internal.h | |
parent | 97ae9d7cbce1f6f7139b44f02f39efdab26a33fa (diff) |
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 'lib/libssl/tls13_internal.h')
-rw-r--r-- | lib/libssl/tls13_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libssl/tls13_internal.h b/lib/libssl/tls13_internal.h index 41833f233f3..530ace41afb 100644 --- a/lib/libssl/tls13_internal.h +++ b/lib/libssl/tls13_internal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_internal.h,v 1.37 2020/01/20 13:10:37 jsing Exp $ */ +/* $OpenBSD: tls13_internal.h,v 1.38 2020/01/21 03:40:05 beck Exp $ */ /* * Copyright (c) 2018 Bob Beck <beck@openbsd.org> * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> @@ -186,6 +186,7 @@ struct tls13_ctx { struct tls13_record_layer *rl; struct tls13_handshake_msg *hs_msg; uint8_t key_update_request; + uint8_t alert; int phh_count; time_t phh_last_seen; }; |