diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2017-07-24 17:10:32 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2017-07-24 17:10:32 +0000 |
commit | 2f773ba2f12c61489af746e6997a84296a115dc8 (patch) | |
tree | e4872bc7011f2baad7a00ee9c5918ac94b2c9742 /lib/libssl/ssl_tlsext.h | |
parent | 20f6857189d1464e5b36bbd452b2c151452e7411 (diff) |
Rewrite the TLS Renegotiation Indication extension handling using CBB/CBS
and the new extension framework.
Feedback from doug@
ok inoguchi@
Diffstat (limited to 'lib/libssl/ssl_tlsext.h')
-rw-r--r-- | lib/libssl/ssl_tlsext.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libssl/ssl_tlsext.h b/lib/libssl/ssl_tlsext.h index a8e478d9c0b..4b0194861a0 100644 --- a/lib/libssl/ssl_tlsext.h +++ b/lib/libssl/ssl_tlsext.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_tlsext.h,v 1.1 2017/07/16 18:14:37 jsing Exp $ */ +/* $OpenBSD: ssl_tlsext.h,v 1.2 2017/07/24 17:10:31 jsing Exp $ */ /* * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> * @@ -15,6 +15,13 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +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); +int tlsext_ri_serverhello_needs(SSL *s); +int tlsext_ri_serverhello_build(SSL *s, CBB *cbb); +int tlsext_ri_serverhello_parse(SSL *s, CBS *cbs, int *alert); + int tlsext_sni_clienthello_needs(SSL *s); int tlsext_sni_clienthello_build(SSL *s, CBB *cbb); int tlsext_sni_clienthello_parse(SSL *s, CBS *cbs, int *alert); |