From 198d5021ae03f18052ca157824c0c9b0afd895a9 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 3 May 2017 12:16:05 +0100 Subject: [PATCH] Update the TLSv1.3 version indicator for draft-20 Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3371) --- include/openssl/tls1.h | 6 +++--- util/TLSProxy/Record.pm | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h index 07e735ce89..aef65cdb04 100644 --- a/include/openssl/tls1.h +++ b/include/openssl/tls1.h @@ -68,9 +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 -19 */ -# define TLS1_3_VERSION_DRAFT 0x7f13 -# define TLS1_3_VERSION_DRAFT_TXT "TLS 1.3 (draft 19)" +/* TODO(TLS1.3) REMOVE ME: Version indicator for draft -20 */ +# define TLS1_3_VERSION_DRAFT 0x7f14 +# define TLS1_3_VERSION_DRAFT_TXT "TLS 1.3 (draft 20)" /* Special value for method supporting multiple versions */ # define TLS_ANY_VERSION 0x10000 diff --git a/util/TLSProxy/Record.pm b/util/TLSProxy/Record.pm index 5925119398..8c6e901558 100644 --- a/util/TLSProxy/Record.pm +++ b/util/TLSProxy/Record.pm @@ -36,7 +36,7 @@ my %record_type = ( use constant { VERS_TLS_1_4 => 0x0305, - VERS_TLS_1_3_DRAFT => 0x7f13, + VERS_TLS_1_3_DRAFT => 0x7f14, VERS_TLS_1_3 => 0x0304, VERS_TLS_1_2 => 0x0303, VERS_TLS_1_1 => 0x0302, -- 2.25.1