diff options
| author | doug <> | 2017-08-11 05:06:34 +0000 |
|---|---|---|
| committer | doug <> | 2017-08-11 05:06:34 +0000 |
| commit | 1236d23d3a61cbaa7533a335e9756c6ca7578afa (patch) | |
| tree | cf9f734a8e9d38d5af29ff18c56720f241220b61 /src/lib/libssl/ssl_tlsext.h | |
| parent | 52c5bafe628bfaf1072a7e4cd721523f818d1bcf (diff) | |
| download | openbsd-1236d23d3a61cbaa7533a335e9756c6ca7578afa.tar.gz openbsd-1236d23d3a61cbaa7533a335e9756c6ca7578afa.tar.bz2 openbsd-1236d23d3a61cbaa7533a335e9756c6ca7578afa.zip | |
Rewrite the ECPointFormats TLS extension handling using CBB/CBS and the
new extension framework.
input + ok jsing@
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 4b0194861a..67a9cfb688 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.2 2017/07/24 17:10:31 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_tlsext.h,v 1.3 2017/08/11 05:06:34 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 | * | 4 | * |
| @@ -29,6 +29,13 @@ int tlsext_sni_serverhello_needs(SSL *s); | |||
| 29 | int tlsext_sni_serverhello_build(SSL *s, CBB *cbb); | 29 | int tlsext_sni_serverhello_build(SSL *s, CBB *cbb); |
| 30 | int tlsext_sni_serverhello_parse(SSL *s, CBS *cbs, int *alert); | 30 | int tlsext_sni_serverhello_parse(SSL *s, CBS *cbs, int *alert); |
| 31 | 31 | ||
| 32 | int tlsext_ecpf_clienthello_needs(SSL *s); | ||
| 33 | int tlsext_ecpf_clienthello_build(SSL *s, CBB *cbb); | ||
| 34 | int tlsext_ecpf_clienthello_parse(SSL *s, CBS *cbs, int *alert); | ||
| 35 | int tlsext_ecpf_serverhello_needs(SSL *s); | ||
| 36 | int tlsext_ecpf_serverhello_build(SSL *s, CBB *cbb); | ||
| 37 | int tlsext_ecpf_serverhello_parse(SSL *s, CBS *cbs, int *alert); | ||
| 38 | |||
| 32 | int tlsext_clienthello_build(SSL *s, CBB *cbb); | 39 | int tlsext_clienthello_build(SSL *s, CBB *cbb); |
| 33 | int tlsext_clienthello_parse_one(SSL *s, CBS *cbs, uint16_t tlsext_type, | 40 | int tlsext_clienthello_parse_one(SSL *s, CBS *cbs, uint16_t tlsext_type, |
| 34 | int *alert); | 41 | int *alert); |
