summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_internal.h
diff options
context:
space:
mode:
authorjsing <>2020-05-11 17:46:46 +0000
committerjsing <>2020-05-11 17:46:46 +0000
commit7c5ba230fb08375f5c6d8d074afcf25d0fdb429c (patch)
treeb2fa73b5afe4f2d2dd7f646fa971a43e0c549c0f /src/lib/libssl/tls13_internal.h
parent7fc47fb1fd67ca9212681c6ffdaa77fe0f2e7332 (diff)
downloadopenbsd-7c5ba230fb08375f5c6d8d074afcf25d0fdb429c.tar.gz
openbsd-7c5ba230fb08375f5c6d8d074afcf25d0fdb429c.tar.bz2
openbsd-7c5ba230fb08375f5c6d8d074afcf25d0fdb429c.zip
Provide an alert sent record layer callback.
Use this to push an error on to the SSL error stack so that we report the details of the alert that we sent, rather than failing with an unknown error. ok tb@
Diffstat (limited to 'src/lib/libssl/tls13_internal.h')
-rw-r--r--src/lib/libssl/tls13_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/tls13_internal.h b/src/lib/libssl/tls13_internal.h
index 764b58b00b..d597ef5a96 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.76 2020/05/11 17:28:33 jsing Exp $ */ 1/* $OpenBSD: tls13_internal.h,v 1.77 2020/05/11 17:46:46 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>
@@ -178,6 +178,7 @@ struct tls13_record_layer_callbacks {
178 tls13_read_cb wire_read; 178 tls13_read_cb wire_read;
179 tls13_write_cb wire_write; 179 tls13_write_cb wire_write;
180 tls13_alert_cb alert_recv; 180 tls13_alert_cb alert_recv;
181 tls13_alert_cb alert_sent;
181 tls13_phh_recv_cb phh_recv; 182 tls13_phh_recv_cb phh_recv;
182 tls13_phh_sent_cb phh_sent; 183 tls13_phh_sent_cb phh_sent;
183}; 184};