summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_tlsext.h
diff options
context:
space:
mode:
authordoug <>2017-08-12 21:17:03 +0000
committerdoug <>2017-08-12 21:17:03 +0000
commit7b1e2bed428777bb9ee601d6775aa91efdc80340 (patch)
treea6945bbfcf083598e38feabf2ece8ed3cbfaed2b /src/lib/libssl/ssl_tlsext.h
parent8bf5f970305d128e9bff3306420305d1a510a83f (diff)
downloadopenbsd-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.h8
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);
44int tlsext_ecpf_serverhello_build(SSL *s, CBB *cbb); 44int tlsext_ecpf_serverhello_build(SSL *s, CBB *cbb);
45int tlsext_ecpf_serverhello_parse(SSL *s, CBS *cbs, int *alert); 45int tlsext_ecpf_serverhello_parse(SSL *s, CBS *cbs, int *alert);
46 46
47int tlsext_sessionticket_clienthello_needs(SSL *s);
48int tlsext_sessionticket_clienthello_build(SSL *s, CBB *cbb);
49int tlsext_sessionticket_clienthello_parse(SSL *s, CBS *cbs, int *alert);
50int tlsext_sessionticket_serverhello_needs(SSL *s);
51int tlsext_sessionticket_serverhello_build(SSL *s, CBB *cbb);
52int tlsext_sessionticket_serverhello_parse(SSL *s, CBS *cbs, int *alert);
47 53
48int tlsext_clienthello_build(SSL *s, CBB *cbb); 54int tlsext_clienthello_build(SSL *s, CBB *cbb);
49int tlsext_clienthello_parse_one(SSL *s, CBS *cbs, uint16_t tlsext_type, 55int tlsext_clienthello_parse_one(SSL *s, CBS *cbs, uint16_t tlsext_type,