From f5975d865bbb5b7ad6035eee8ab0db118748dba7 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Sat, 16 Jul 2016 14:50:09 +0200 Subject: [PATCH] Support TLS 1.3 in bssl client. Note that this is currently doing fake TLS 1.3 until the handshake is in. Change-Id: I3fbf0049e2a0f1d7464b94a69421e198e0bb768d Reviewed-on: https://boringssl-review.googlesource.com/8820 Reviewed-by: David Benjamin Commit-Queue: David Benjamin CQ-Verified: CQ bot account: commit-bot@chromium.org --- tool/client.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tool/client.cc b/tool/client.cc index 7310ebf3..8851c441 100644 --- a/tool/client.cc +++ b/tool/client.cc @@ -119,6 +119,9 @@ static bool VersionFromString(uint16_t *out_version, } else if (version == "tls1.2") { *out_version = TLS1_2_VERSION; return true; + } else if (version == "tls1.3") { + *out_version = TLS1_3_VERSION; + return true; } return false; }