summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-05-14 18:35:30 +0100
committerMatt Caswell <matt@openssl.org>2018-05-15 10:02:59 +0100
commit73cc84a132a08a02253ae168600fc4d16cd400d8 (patch)
tree79fd5e2f7a8c691f1dae14ad9110f5fd98c3f06f /include
parentba8b48e98dd86851ca20733f819da5b76859e64a (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.h10
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