Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Valdez <svaldez@google.com>2016-07-11 20:19:03 +0300
committerCQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>2016-07-18 12:54:46 +0300
commit143e8b3fd9b96a4599d303e7800c4043904ff55f (patch)
tree2aab32a5d5d37f4c05caa9294658ec22669ca499 /include/openssl/tls1.h
parent4ee027fd0560ea3644ff13697a7a97bcd0c588d0 (diff)
Add TLS 1.3 1-RTT.
This adds the machinery for doing TLS 1.3 1RTT. Change-Id: I736921ffe9dc6f6e64a08a836df6bb166d20f504 Reviewed-on: https://boringssl-review.googlesource.com/8720 Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Diffstat (limited to 'include/openssl/tls1.h')
-rw-r--r--include/openssl/tls1.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h
index ae1ab7cc..3c97d26a 100644
--- a/include/openssl/tls1.h
+++ b/include/openssl/tls1.h
@@ -211,6 +211,14 @@ extern "C" {
#define TLSEXT_TYPE_early_data 42
#define TLSEXT_TYPE_cookie 44
+/* TLSEXT_TYPE_draft_version is the extension used to advertise the TLS 1.3
+ * draft implemented.
+ *
+ * See
+ * https://github.com/tlswg/tls13-spec/wiki/Implementations#version-negotiation
+ */
+#define TLSEXT_TYPE_draft_version 0xff02
+
/* ExtensionType value from RFC5746 */
#define TLSEXT_TYPE_renegotiate 0xff01