From 619d8336d00fe19bc694e61e772b5838d7e422e5 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 27 Oct 2016 16:30:36 +0100 Subject: [PATCH] Update TLS1.3 draft version numbers for latest draft Reviewed-by: Rich Salz --- include/openssl/tls1.h | 4 ++-- ssl/t1_trce.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h index f0c61060a3..071aed6c78 100644 --- a/include/openssl/tls1.h +++ b/include/openssl/tls1.h @@ -68,8 +68,8 @@ 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 +/* TODO(TLS1.3) REMOVE ME: Version indicator for draft -18 */ +# define TLS1_3_VERSION_DRAFT 0x7f12 /* Special value for method supporting multiple versions */ # define TLS_ANY_VERSION 0x10000 diff --git a/ssl/t1_trce.c b/ssl/t1_trce.c index a1157e2ff5..431d4494e8 100644 --- a/ssl/t1_trce.c +++ b/ssl/t1_trce.c @@ -571,7 +571,7 @@ static ssl_trace_tbl ssl_supp_versions_tbl[] = { {TLS1_1_VERSION, "TLSv1.1"}, {TLS1_2_VERSION, "TLSv1.2"}, {TLS1_3_VERSION, "TLSv1.3"}, - {TLS1_3_VERSION_DRAFT, "TLSv1.3 draft 17"} + {TLS1_3_VERSION_DRAFT, "TLSv1.3 draft 18"} }; static void ssl_print_hex(BIO *bio, int indent, const char *name, -- 2.25.1