diff options
author | Matt Caswell <matt@openssl.org> | 2018-05-14 18:35:30 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-05-15 10:02:59 +0100 |
commit | 73cc84a132a08a02253ae168600fc4d16cd400d8 (patch) | |
tree | 79fd5e2f7a8c691f1dae14ad9110f5fd98c3f06f /include | |
parent | ba8b48e98dd86851ca20733f819da5b76859e64a (diff) |
Suport TLSv1.3 draft 28
Also retains support for drafts 27 and 26
Fixes #6257
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6258)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/tls1.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h index b9f0918f3e..37bdc7da43 100644 --- a/include/openssl/tls1.h +++ b/include/openssl/tls1.h @@ -30,9 +30,13 @@ extern "C" { # define TLS1_3_VERSION 0x0304 # define TLS_MAX_VERSION TLS1_3_VERSION -/* TODO(TLS1.3) REMOVE ME: Version indicator for draft -26 */ -# define TLS1_3_VERSION_DRAFT 0x7f1a -# define TLS1_3_VERSION_DRAFT_TXT "TLS 1.3 (draft 26)" +/* TODO(TLS1.3) REMOVE ME: Version indicators for draft version */ +# define TLS1_3_VERSION_DRAFT_26 0x7f1a +# define TLS1_3_VERSION_DRAFT_27 0x7f1b +# define TLS1_3_VERSION_DRAFT 0x7f1c +# define TLS1_3_VERSION_DRAFT_TXT_26 "TLS 1.3 (draft 26)" +# define TLS1_3_VERSION_DRAFT_TXT_27 "TLS 1.3 (draft 27)" +# define TLS1_3_VERSION_DRAFT_TXT "TLS 1.3 (draft 28)" /* Special value for method supporting multiple versions */ # define TLS_ANY_VERSION 0x10000 |