summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_tlsext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_tlsext.h')
-rw-r--r--src/lib/libssl/ssl_tlsext.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_tlsext.h b/src/lib/libssl/ssl_tlsext.h
index 974ab929ec..b6108ea45a 100644
--- a/src/lib/libssl/ssl_tlsext.h
+++ b/src/lib/libssl/ssl_tlsext.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_tlsext.h,v 1.13 2018/11/05 20:41:30 jsing Exp $ */ 1/* $OpenBSD: ssl_tlsext.h,v 1.14 2018/11/09 03:17:24 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> 4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -16,6 +16,11 @@
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 */ 17 */
18 18
19#ifndef HEADER_SSL_TLSEXT_H
20#define HEADER_SSL_TLSEXT_H
21
22__BEGIN_HIDDEN_DECLS
23
19int tlsext_alpn_clienthello_needs(SSL *s); 24int tlsext_alpn_clienthello_needs(SSL *s);
20int tlsext_alpn_clienthello_build(SSL *s, CBB *cbb); 25int tlsext_alpn_clienthello_build(SSL *s, CBB *cbb);
21int tlsext_alpn_clienthello_parse(SSL *s, CBS *cbs, int *alert); 26int tlsext_alpn_clienthello_parse(SSL *s, CBS *cbs, int *alert);
@@ -86,3 +91,7 @@ int tlsext_clienthello_parse(SSL *s, CBS *cbs, int *alert);
86 91
87int tlsext_serverhello_build(SSL *s, CBB *cbb); 92int tlsext_serverhello_build(SSL *s, CBB *cbb);
88int tlsext_serverhello_parse(SSL *s, CBS *cbs, int *alert); 93int tlsext_serverhello_parse(SSL *s, CBS *cbs, int *alert);
94
95__END_HIDDEN_DECLS
96
97#endif