diff options
author | doug <> | 2017-08-12 21:17:03 +0000 |
---|---|---|
committer | doug <> | 2017-08-12 21:17:03 +0000 |
commit | 7b1e2bed428777bb9ee601d6775aa91efdc80340 (patch) | |
tree | a6945bbfcf083598e38feabf2ece8ed3cbfaed2b /src/lib/libssl/ssl_tlsext.h | |
parent | 8bf5f970305d128e9bff3306420305d1a510a83f (diff) | |
download | openbsd-7b1e2bed428777bb9ee601d6775aa91efdc80340.tar.gz openbsd-7b1e2bed428777bb9ee601d6775aa91efdc80340.tar.bz2 openbsd-7b1e2bed428777bb9ee601d6775aa91efdc80340.zip |
Rewrite session ticket TLS extension handling using CBB/CBS and the new
extension framework.
ok jsing@ beck@
Diffstat (limited to 'src/lib/libssl/ssl_tlsext.h')
-rw-r--r-- | src/lib/libssl/ssl_tlsext.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_tlsext.h b/src/lib/libssl/ssl_tlsext.h index 38f8ffaa65..1e701e941a 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.5 2017/08/11 20:14:13 doug Exp $ */ | 1 | /* $OpenBSD: ssl_tlsext.h,v 1.6 2017/08/12 21:17:03 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> |
@@ -44,6 +44,12 @@ int tlsext_ecpf_serverhello_needs(SSL *s); | |||
44 | int tlsext_ecpf_serverhello_build(SSL *s, CBB *cbb); | 44 | int tlsext_ecpf_serverhello_build(SSL *s, CBB *cbb); |
45 | int tlsext_ecpf_serverhello_parse(SSL *s, CBS *cbs, int *alert); | 45 | int tlsext_ecpf_serverhello_parse(SSL *s, CBS *cbs, int *alert); |
46 | 46 | ||
47 | int tlsext_sessionticket_clienthello_needs(SSL *s); | ||
48 | int tlsext_sessionticket_clienthello_build(SSL *s, CBB *cbb); | ||
49 | int tlsext_sessionticket_clienthello_parse(SSL *s, CBS *cbs, int *alert); | ||
50 | int tlsext_sessionticket_serverhello_needs(SSL *s); | ||
51 | int tlsext_sessionticket_serverhello_build(SSL *s, CBB *cbb); | ||
52 | int tlsext_sessionticket_serverhello_parse(SSL *s, CBS *cbs, int *alert); | ||
47 | 53 | ||
48 | int tlsext_clienthello_build(SSL *s, CBB *cbb); | 54 | int tlsext_clienthello_build(SSL *s, CBB *cbb); |
49 | int tlsext_clienthello_parse_one(SSL *s, CBS *cbs, uint16_t tlsext_type, | 55 | int tlsext_clienthello_parse_one(SSL *s, CBS *cbs, uint16_t tlsext_type, |