diff options
author | Matt Caswell <matt@openssl.org> | 2016-10-21 23:40:52 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-11-09 16:03:08 +0000 |
commit | b5b253b1bfe55d0d1be4c45dafed8d789ab97c17 (patch) | |
tree | 2c5e65d2f9311c7baa218d43a4d4b5dc133b201b /include | |
parent | 7bb37cb5938a0cf76c12c8421950e72634d5f61c (diff) |
Add the ability to send the supported_versions extension
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/tls1.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h index ba3c413cb0..f0c61060a3 100644 --- a/include/openssl/tls1.h +++ b/include/openssl/tls1.h @@ -68,6 +68,9 @@ extern "C" { # define TLS1_3_VERSION 0x0304 # define TLS_MAX_VERSION TLS1_3_VERSION +/* TODO(TLS1.3) REMOVE ME: Version indicator for draft -17 */ +# define TLS1_3_VERSION_DRAFT 0x7f11 + /* Special value for method supporting multiple versions */ # define TLS_ANY_VERSION 0x10000 @@ -163,6 +166,9 @@ extern "C" { /* ExtensionType value from RFC4507 */ # define TLSEXT_TYPE_session_ticket 35 +/* As defined for TLS1.3 */ +# define TLSEXT_TYPE_supported_versions 43 + /* Temporary extension type */ # define TLSEXT_TYPE_renegotiate 0xff01 |