summaryrefslogtreecommitdiff
path: root/lib/libssl/tls13_internal.h
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2020-05-09 15:05:51 +0000
committerBob Beck <beck@cvs.openbsd.org>2020-05-09 15:05:51 +0000
commitaa4845482e5480cd41315bdedb247917043d35f7 (patch)
treec43c7566f89b0a7dcb33da3dbb21b78e60d48a4f /lib/libssl/tls13_internal.h
parent456211843e8d6d53f7f18ebbdde8b55cc616923f (diff)
Add support for certificate status requests in TLS 1.3 client
ok jsing@, tb@, inoguchi@
Diffstat (limited to 'lib/libssl/tls13_internal.h')
-rw-r--r--lib/libssl/tls13_internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libssl/tls13_internal.h b/lib/libssl/tls13_internal.h
index d53672dbfe5..b699b205010 100644
--- a/lib/libssl/tls13_internal.h
+++ b/lib/libssl/tls13_internal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_internal.h,v 1.67 2020/04/28 20:37:22 jsing Exp $ */
+/* $OpenBSD: tls13_internal.h,v 1.68 2020/05/09 15:05:50 beck Exp $ */
/*
* Copyright (c) 2018 Bob Beck <beck@openbsd.org>
* Copyright (c) 2018 Theo Buehler <tb@openbsd.org>
@@ -51,6 +51,7 @@ typedef ssize_t (*tls13_read_cb)(void *_buf, size_t _buflen, void *_cb_arg);
typedef ssize_t (*tls13_write_cb)(const void *_buf, size_t _buflen,
void *_cb_arg);
typedef void (*tls13_handshake_message_cb)(void *_cb_arg);
+typedef int (*tls13_ocsp_status_cb)(void *_cb_arg);
/*
* Buffers.
@@ -233,6 +234,7 @@ struct tls13_ctx {
tls13_handshake_message_cb handshake_message_sent_cb;
tls13_handshake_message_cb handshake_message_recv_cb;
+ tls13_ocsp_status_cb ocsp_status_recv_cb;
};
#ifndef TLS13_PHH_LIMIT_TIME
#define TLS13_PHH_LIMIT_TIME 3600