summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_tlsext.h
diff options
context:
space:
mode:
authordoug <>2017-08-11 05:06:34 +0000
committerdoug <>2017-08-11 05:06:34 +0000
commit1236d23d3a61cbaa7533a335e9756c6ca7578afa (patch)
treecf9f734a8e9d38d5af29ff18c56720f241220b61 /src/lib/libssl/ssl_tlsext.h
parent52c5bafe628bfaf1072a7e4cd721523f818d1bcf (diff)
downloadopenbsd-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.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 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);
29int tlsext_sni_serverhello_build(SSL *s, CBB *cbb); 29int tlsext_sni_serverhello_build(SSL *s, CBB *cbb);
30int tlsext_sni_serverhello_parse(SSL *s, CBS *cbs, int *alert); 30int tlsext_sni_serverhello_parse(SSL *s, CBS *cbs, int *alert);
31 31
32int tlsext_ecpf_clienthello_needs(SSL *s);
33int tlsext_ecpf_clienthello_build(SSL *s, CBB *cbb);
34int tlsext_ecpf_clienthello_parse(SSL *s, CBS *cbs, int *alert);
35int tlsext_ecpf_serverhello_needs(SSL *s);
36int tlsext_ecpf_serverhello_build(SSL *s, CBB *cbb);
37int tlsext_ecpf_serverhello_parse(SSL *s, CBS *cbs, int *alert);
38
32int tlsext_clienthello_build(SSL *s, CBB *cbb); 39int tlsext_clienthello_build(SSL *s, CBB *cbb);
33int tlsext_clienthello_parse_one(SSL *s, CBS *cbs, uint16_t tlsext_type, 40int tlsext_clienthello_parse_one(SSL *s, CBS *cbs, uint16_t tlsext_type,
34 int *alert); 41 int *alert);