diff options
author | beck <> | 2019-01-18 12:09:52 +0000 |
---|---|---|
committer | beck <> | 2019-01-18 12:09:52 +0000 |
commit | ae085f866c992c5aafe0d0322dddfa4f932c16bc (patch) | |
tree | 3a1d6420866177a41baec844425e3647e9ae5621 /src/lib/libssl/ssl_tlsext.h | |
parent | 8d11c13cb195af65b758b8fc9f2010bac7d034c6 (diff) | |
download | openbsd-ae085f866c992c5aafe0d0322dddfa4f932c16bc.tar.gz openbsd-ae085f866c992c5aafe0d0322dddfa4f932c16bc.tar.bz2 openbsd-ae085f866c992c5aafe0d0322dddfa4f932c16bc.zip |
Add client side of supported versions and keyshare extensions with basic regress
ok jsing@
Diffstat (limited to '')
-rw-r--r-- | src/lib/libssl/ssl_tlsext.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_tlsext.h b/src/lib/libssl/ssl_tlsext.h index e5c1628c98..8f5aaa89dc 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.15 2019/01/18 00:54:42 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_tlsext.h,v 1.16 2019/01/18 12:09:52 beck 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> |
@@ -86,6 +86,20 @@ int tlsext_sessionticket_server_needs(SSL *s); | |||
86 | int tlsext_sessionticket_server_build(SSL *s, CBB *cbb); | 86 | int tlsext_sessionticket_server_build(SSL *s, CBB *cbb); |
87 | int tlsext_sessionticket_server_parse(SSL *s, CBS *cbs, int *alert); | 87 | int tlsext_sessionticket_server_parse(SSL *s, CBS *cbs, int *alert); |
88 | 88 | ||
89 | int tlsext_versions_client_needs(SSL *s); | ||
90 | int tlsext_versions_client_build(SSL *s, CBB *cbb); | ||
91 | int tlsext_versions_client_parse(SSL *s, CBS *cbs, int *alert); | ||
92 | int tlsext_versions_server_needs(SSL *s); | ||
93 | int tlsext_versions_server_build(SSL *s, CBB *cbb); | ||
94 | int tlsext_versions_server_parse(SSL *s, CBS *cbs, int *alert); | ||
95 | |||
96 | int tlsext_keyshare_client_needs(SSL *s); | ||
97 | int tlsext_keyshare_client_build(SSL *s, CBB *cbb); | ||
98 | int tlsext_keyshare_client_parse(SSL *s, CBS *cbs, int *alert); | ||
99 | int tlsext_keyshare_server_needs(SSL *s); | ||
100 | int tlsext_keyshare_server_build(SSL *s, CBB *cbb); | ||
101 | int tlsext_keyshare_server_parse(SSL *s, CBS *cbs, int *alert); | ||
102 | |||
89 | #ifndef OPENSSL_NO_SRTP | 103 | #ifndef OPENSSL_NO_SRTP |
90 | int tlsext_srtp_client_needs(SSL *s); | 104 | int tlsext_srtp_client_needs(SSL *s); |
91 | int tlsext_srtp_client_build(SSL *s, CBB *cbb); | 105 | int tlsext_srtp_client_build(SSL *s, CBB *cbb); |