diff options
author | doug <> | 2017-08-26 20:23:46 +0000 |
---|---|---|
committer | doug <> | 2017-08-26 20:23:46 +0000 |
commit | 4d875aa977b8bbe9969527101d0f2d7d67a77b0b (patch) | |
tree | d42347fee889bfbea6b518ea0c0bc8a2f6c60bc0 /src/lib/libssl/ssl_tlsext.h | |
parent | 8d42eef4813a62fe0da8095168237e06c798bcd1 (diff) | |
download | openbsd-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.h | 9 |
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 | ||
19 | int tlsext_alpn_clienthello_needs(SSL *s); | ||
20 | int tlsext_alpn_clienthello_build(SSL *s, CBB *cbb); | ||
21 | int tlsext_alpn_clienthello_parse(SSL *s, CBS *cbs, int *alert); | ||
22 | int tlsext_alpn_serverhello_needs(SSL *s); | ||
23 | int tlsext_alpn_serverhello_build(SSL *s, CBB *cbb); | ||
24 | int tlsext_alpn_serverhello_parse(SSL *s, CBS *cbs, int *alert); | ||
25 | |||
19 | int tlsext_ri_clienthello_needs(SSL *s); | 26 | int tlsext_ri_clienthello_needs(SSL *s); |
20 | int tlsext_ri_clienthello_build(SSL *s, CBB *cbb); | 27 | int tlsext_ri_clienthello_build(SSL *s, CBB *cbb); |
21 | int tlsext_ri_clienthello_parse(SSL *s, CBS *cbs, int *alert); | 28 | int tlsext_ri_clienthello_parse(SSL *s, CBS *cbs, int *alert); |