summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_tlsext.h
diff options
context:
space:
mode:
authorDoug Hogan <doug@cvs.openbsd.org>2017-08-26 20:23:47 +0000
committerDoug Hogan <doug@cvs.openbsd.org>2017-08-26 20:23:47 +0000
commitabc9a9d34ef7f44adc67547498f4be1971dde4ac (patch)
treec9cbd0ef9a5ad75fe3bb1af147098d56f015a610 /lib/libssl/ssl_tlsext.h
parent0d7570fdae5bff939f80692c57abfab08f08dcef (diff)
Rewrite ALPN extension using CBB/CBS and the new extension framework.
ok bcook@ beck@ input + ok jsing@
Diffstat (limited to 'lib/libssl/ssl_tlsext.h')
-rw-r--r--lib/libssl/ssl_tlsext.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libssl/ssl_tlsext.h b/lib/libssl/ssl_tlsext.h
index bba8bdbea9d..21f9bb1bf93 100644
--- a/lib/libssl/ssl_tlsext.h
+++ b/lib/libssl/ssl_tlsext.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_tlsext.h,v 1.8 2017/08/12 23:38:12 beck Exp $ */
+/* $OpenBSD: ssl_tlsext.h,v 1.9 2017/08/26 20:23:46 doug Exp $ */
/*
* Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -16,6 +16,13 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+int tlsext_alpn_clienthello_needs(SSL *s);
+int tlsext_alpn_clienthello_build(SSL *s, CBB *cbb);
+int tlsext_alpn_clienthello_parse(SSL *s, CBS *cbs, int *alert);
+int tlsext_alpn_serverhello_needs(SSL *s);
+int tlsext_alpn_serverhello_build(SSL *s, CBB *cbb);
+int tlsext_alpn_serverhello_parse(SSL *s, CBS *cbs, int *alert);
+
int tlsext_ri_clienthello_needs(SSL *s);
int tlsext_ri_clienthello_build(SSL *s, CBB *cbb);
int tlsext_ri_clienthello_parse(SSL *s, CBS *cbs, int *alert);