diff options
| author | jsing <> | 2017-07-24 17:10:31 +0000 |
|---|---|---|
| committer | jsing <> | 2017-07-24 17:10:31 +0000 |
| commit | 0698e049c8b5abfa4b777c0c20e976bfd5620394 (patch) | |
| tree | 8569a0a64e02d438a436db68dfa476dc61e0f26f /src/lib/libssl/ssl_tlsext.h | |
| parent | b6f42f38104bbae83b9a736a436e59bfc4c49dd9 (diff) | |
| download | openbsd-0698e049c8b5abfa4b777c0c20e976bfd5620394.tar.gz openbsd-0698e049c8b5abfa4b777c0c20e976bfd5620394.tar.bz2 openbsd-0698e049c8b5abfa4b777c0c20e976bfd5620394.zip | |
Rewrite the TLS Renegotiation Indication extension handling using CBB/CBS
and the new extension framework.
Feedback from doug@
ok inoguchi@
Diffstat (limited to 'src/lib/libssl/ssl_tlsext.h')
| -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 a8e478d9c0..4b0194861a 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.1 2017/07/16 18:14:37 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_tlsext.h,v 1.2 2017/07/24 17:10:31 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -15,6 +15,13 @@ | |||
| 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | int tlsext_ri_clienthello_needs(SSL *s); | ||
| 19 | int tlsext_ri_clienthello_build(SSL *s, CBB *cbb); | ||
| 20 | int tlsext_ri_clienthello_parse(SSL *s, CBS *cbs, int *alert); | ||
| 21 | int tlsext_ri_serverhello_needs(SSL *s); | ||
| 22 | int tlsext_ri_serverhello_build(SSL *s, CBB *cbb); | ||
| 23 | int tlsext_ri_serverhello_parse(SSL *s, CBS *cbs, int *alert); | ||
| 24 | |||
| 18 | int tlsext_sni_clienthello_needs(SSL *s); | 25 | int tlsext_sni_clienthello_needs(SSL *s); |
| 19 | int tlsext_sni_clienthello_build(SSL *s, CBB *cbb); | 26 | int tlsext_sni_clienthello_build(SSL *s, CBB *cbb); |
| 20 | int tlsext_sni_clienthello_parse(SSL *s, CBS *cbs, int *alert); | 27 | int tlsext_sni_clienthello_parse(SSL *s, CBS *cbs, int *alert); |
