summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/tls13_internal.h')
-rw-r--r--src/lib/libssl/tls13_internal.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/libssl/tls13_internal.h b/src/lib/libssl/tls13_internal.h
index bb3ff1fe9c..03fdab7e53 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.11 2019/01/21 06:58:44 jsing Exp $ */ 1/* $OpenBSD: tls13_internal.h,v 1.12 2019/01/21 09:10:58 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>
@@ -146,9 +146,19 @@ struct tls13_ctx {
146 SSL *ssl; 146 SSL *ssl;
147 uint8_t mode; 147 uint8_t mode;
148 struct tls13_handshake_stage handshake_stage; 148 struct tls13_handshake_stage handshake_stage;
149 struct tls13_record_layer *rl;
149}; 150};
150 151
151/* 152/*
153 * Legacy interfaces.
154 */
155ssize_t tls13_legacy_wire_read_cb(void *buf, size_t n, void *arg);
156ssize_t tls13_legacy_wire_write_cb(const void *buf, size_t n, void *arg);
157int tls13_legacy_read_bytes(SSL *ssl, int type, unsigned char *buf, int len,
158 int peek);
159int tls13_legacy_write_bytes(SSL *ssl, int type, const void *buf, int len);
160
161/*
152 * Message Types - RFC 8446, Section B.3. 162 * Message Types - RFC 8446, Section B.3.
153 * 163 *
154 * Values listed as "_RESERVED" were used in previous versions of TLS and are 164 * Values listed as "_RESERVED" were used in previous versions of TLS and are