From 5b68d1792021463b7cd5d76c82b251d61a56d869 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Tue, 13 Mar 2018 13:13:33 +0000 Subject: [PATCH] Update version numbers for TLSv1.3 draft-26 Reviewed-by: Ben Kaduk (Merged from https://github.com/openssl/openssl/pull/5604) --- include/openssl/tls1.h | 6 +++--- util/perl/TLSProxy/Record.pm | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h index f16785663b..0d5b9f8cba 100644 --- a/include/openssl/tls1.h +++ b/include/openssl/tls1.h @@ -30,9 +30,9 @@ extern "C" { # define TLS1_3_VERSION 0x0304 # define TLS_MAX_VERSION TLS1_3_VERSION -/* TODO(TLS1.3) REMOVE ME: Version indicator for draft -23 */ -# define TLS1_3_VERSION_DRAFT 0x7f17 -# define TLS1_3_VERSION_DRAFT_TXT "TLS 1.3 (draft 23)" +/* 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)" /* Special value for method supporting multiple versions */ # define TLS_ANY_VERSION 0x10000 diff --git a/util/perl/TLSProxy/Record.pm b/util/perl/TLSProxy/Record.pm index 773f759aab..b52e344419 100644 --- a/util/perl/TLSProxy/Record.pm +++ b/util/perl/TLSProxy/Record.pm @@ -36,7 +36,7 @@ my %record_type = ( use constant { VERS_TLS_1_4 => 0x0305, - VERS_TLS_1_3_DRAFT => 0x7f17, + VERS_TLS_1_3_DRAFT => 0x7f1a, VERS_TLS_1_3 => 0x0304, VERS_TLS_1_2 => 0x0303, VERS_TLS_1_1 => 0x0302, -- 2.34.1