summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_tlsext.h
diff options
context:
space:
mode:
authordoug <>2017-08-26 20:23:46 +0000
committerdoug <>2017-08-26 20:23:46 +0000
commit4d875aa977b8bbe9969527101d0f2d7d67a77b0b (patch)
treed42347fee889bfbea6b518ea0c0bc8a2f6c60bc0 /src/lib/libssl/ssl_tlsext.h
parent8d42eef4813a62fe0da8095168237e06c798bcd1 (diff)
downloadopenbsd-4d875aa977b8bbe9969527101d0f2d7d67a77b0b.tar.gz
openbsd-4d875aa977b8bbe9969527101d0f2d7d67a77b0b.tar.bz2
openbsd-4d875aa977b8bbe9969527101d0f2d7d67a77b0b.zip
Rewrite ALPN extension using CBB/CBS and the new extension framework.
ok bcook@ beck@ input + ok jsing@
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/ssl_tlsext.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_tlsext.h b/src/lib/libssl/ssl_tlsext.h
index bba8bdbea9..21f9bb1bf9 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.8 2017/08/12 23:38:12 beck Exp $ */ 1/* $OpenBSD: ssl_tlsext.h,v 1.9 2017/08/26 20:23:46 doug 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,13 @@
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
19int tlsext_alpn_clienthello_needs(SSL *s);
20int tlsext_alpn_clienthello_build(SSL *s, CBB *cbb);
21int tlsext_alpn_clienthello_parse(SSL *s, CBS *cbs, int *alert);
22int tlsext_alpn_serverhello_needs(SSL *s);
23int tlsext_alpn_serverhello_build(SSL *s, CBB *cbb);
24int tlsext_alpn_serverhello_parse(SSL *s, CBS *cbs, int *alert);
25
19int tlsext_ri_clienthello_needs(SSL *s); 26int tlsext_ri_clienthello_needs(SSL *s);
20int tlsext_ri_clienthello_build(SSL *s, CBB *cbb); 27int tlsext_ri_clienthello_build(SSL *s, CBB *cbb);
21int tlsext_ri_clienthello_parse(SSL *s, CBS *cbs, int *alert); 28int tlsext_ri_clienthello_parse(SSL *s, CBS *cbs, int *alert);