summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_internal.h
diff options
context:
space:
mode:
authorjsing <>2020-01-22 06:23:00 +0000
committerjsing <>2020-01-22 06:23:00 +0000
commit9e9db88c593e9fe3ec46a015b783a8903db297c3 (patch)
treeb500b4cd4fbfdaf1e52f3a0b754eb1e97bd5f92f /src/lib/libssl/tls13_internal.h
parent0cbc880fa36f08c10caa253c5b025333c684fa2f (diff)
downloadopenbsd-9e9db88c593e9fe3ec46a015b783a8903db297c3.tar.gz
openbsd-9e9db88c593e9fe3ec46a015b783a8903db297c3.tar.bz2
openbsd-9e9db88c593e9fe3ec46a015b783a8903db297c3.zip
Implement support for SSL_peek() in the TLSv1.3 record layer.
ok beck@ 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 fc1d6c1889..68a129a634 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.43 2020/01/22 05:06:23 tb Exp $ */ 1/* $OpenBSD: tls13_internal.h,v 1.44 2020/01/22 06:23:00 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>
@@ -136,6 +136,7 @@ ssize_t tls13_record_layer_phh(struct tls13_record_layer *rl, CBS *cbs);
136ssize_t tls13_read_handshake_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n); 136ssize_t tls13_read_handshake_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n);
137ssize_t tls13_write_handshake_data(struct tls13_record_layer *rl, const uint8_t *buf, 137ssize_t tls13_write_handshake_data(struct tls13_record_layer *rl, const uint8_t *buf,
138 size_t n); 138 size_t n);
139ssize_t tls13_peek_application_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n);
139ssize_t tls13_read_application_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n); 140ssize_t tls13_read_application_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n);
140ssize_t tls13_write_application_data(struct tls13_record_layer *rl, const uint8_t *buf, 141ssize_t tls13_write_application_data(struct tls13_record_layer *rl, const uint8_t *buf,
141 size_t n); 142 size_t n);