From abc9a9d34ef7f44adc67547498f4be1971dde4ac Mon Sep 17 00:00:00 2001 From: Doug Hogan Date: Sat, 26 Aug 2017 20:23:47 +0000 Subject: Rewrite ALPN extension using CBB/CBS and the new extension framework. ok bcook@ beck@ input + ok jsing@ --- lib/libssl/ssl_tlsext.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib/libssl/ssl_tlsext.h') 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 * Copyright (c) 2017 Doug Hogan @@ -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); -- cgit v1.2.3