summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_internal.h
diff options
context:
space:
mode:
authortb <>2021-09-14 14:31:21 +0000
committertb <>2021-09-14 14:31:21 +0000
commitac5a0d433026e460d43c793dbc5fe91945375ec3 (patch)
tree15822237b4621e3b97d198129a25420867b43636 /src/lib/libssl/tls13_internal.h
parent721f84f987db2650c18bfa5c6bfe892cc9cfb1eb (diff)
downloadopenbsd-ac5a0d433026e460d43c793dbc5fe91945375ec3.tar.gz
openbsd-ac5a0d433026e460d43c793dbc5fe91945375ec3.tar.bz2
openbsd-ac5a0d433026e460d43c793dbc5fe91945375ec3.zip
Call the info cb on connect/accept exit in TLSv1.3
The p5-Net-SSLeay test expects the info callback to be called on connect exit. This is the behavior in the legacy stack but wasn't implemented in the TLSv1.3 stack. With this commit, p5-Net-SSLeay tests are happy again after the bump. ok bluhm inoguchi jsing
Diffstat (limited to 'src/lib/libssl/tls13_internal.h')
-rw-r--r--src/lib/libssl/tls13_internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/tls13_internal.h b/src/lib/libssl/tls13_internal.h
index 12ed733f2b..2e78e37226 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.91 2021/09/04 16:26:12 jsing Exp $ */ 1/* $OpenBSD: tls13_internal.h,v 1.92 2021/09/14 14:31:21 tb 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>
@@ -83,6 +83,8 @@ __BEGIN_HIDDEN_DECLS
83#define TLS13_INFO_HANDSHAKE_COMPLETED SSL_CB_HANDSHAKE_DONE 83#define TLS13_INFO_HANDSHAKE_COMPLETED SSL_CB_HANDSHAKE_DONE
84#define TLS13_INFO_ACCEPT_LOOP SSL_CB_ACCEPT_LOOP 84#define TLS13_INFO_ACCEPT_LOOP SSL_CB_ACCEPT_LOOP
85#define TLS13_INFO_CONNECT_LOOP SSL_CB_CONNECT_LOOP 85#define TLS13_INFO_CONNECT_LOOP SSL_CB_CONNECT_LOOP
86#define TLS13_INFO_ACCEPT_EXIT SSL_CB_ACCEPT_EXIT
87#define TLS13_INFO_CONNECT_EXIT SSL_CB_CONNECT_EXIT
86 88
87typedef void (*tls13_alert_cb)(uint8_t _alert_desc, void *_cb_arg); 89typedef void (*tls13_alert_cb)(uint8_t _alert_desc, void *_cb_arg);
88typedef ssize_t (*tls13_phh_recv_cb)(void *_cb_arg, CBS *_cbs); 90typedef ssize_t (*tls13_phh_recv_cb)(void *_cb_arg, CBS *_cbs);