From 2bcf6466b48c178d253653a48d8d627d7ac3f188 Mon Sep 17 00:00:00 2001 From: Kris Kwiatkowski Date: Sun, 19 Aug 2018 10:27:33 +0100 Subject: [PATCH] removes old draft version indicators (#127) --- _dev/tris-localserver/server.go | 4 ---- _dev/tris-testclient/client.go | 2 -- common.go | 4 ---- 3 files changed, 10 deletions(-) diff --git a/_dev/tris-localserver/server.go b/_dev/tris-localserver/server.go index 193b1a3..0523974 100644 --- a/_dev/tris-localserver/server.go +++ b/_dev/tris-localserver/server.go @@ -39,10 +39,6 @@ var tlsVersionToName = map[uint16]string{ tls.VersionTLS11: "1.1", tls.VersionTLS12: "1.2", tls.VersionTLS13: "1.3", - tls.VersionTLS13Draft18: "1.3 (draft 18)", - tls.VersionTLS13Draft21: "1.3 (draft 21)", - tls.VersionTLS13Draft22: "1.3 (draft 22)", - tls.VersionTLS13Draft23: "1.3 (draft 23)", tls.VersionTLS13Draft28: "1.3 (draft 28)", } diff --git a/_dev/tris-testclient/client.go b/_dev/tris-testclient/client.go index 5dace3f..c1d25dc 100644 --- a/_dev/tris-testclient/client.go +++ b/_dev/tris-testclient/client.go @@ -16,8 +16,6 @@ var tlsVersionToName = map[uint16]string{ tls.VersionTLS11: "1.1", tls.VersionTLS12: "1.2", tls.VersionTLS13: "1.3", - tls.VersionTLS13Draft18: "1.3 (draft 18)", - tls.VersionTLS13Draft23: "1.3 (draft 23)", tls.VersionTLS13Draft28: "1.3 (draft 28)", } diff --git a/common.go b/common.go index 87ffb53..ef6f4ac 100644 --- a/common.go +++ b/common.go @@ -27,10 +27,6 @@ const ( VersionTLS11 = 0x0302 VersionTLS12 = 0x0303 VersionTLS13 = 0x0304 - VersionTLS13Draft18 = 0x7f00 | 18 - VersionTLS13Draft21 = 0x7f00 | 21 - VersionTLS13Draft22 = 0x7f00 | 22 - VersionTLS13Draft23 = 0x7f00 | 23 VersionTLS13Draft28 = 0x7f00 | 28 )