Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: third_party/tlslite/tlslite/messages.py

Issue 1636453004: Update Token Binding code to match latest draft draft-ietf-tokbind-protocol-04 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bump TB version in tlslite Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tlslite/patches/token_binding_negotiation.patch ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tlslite/tlslite/messages.py
diff --git a/third_party/tlslite/tlslite/messages.py b/third_party/tlslite/tlslite/messages.py
index ab2be57ac4c8853083b8549d426525c200a9b8ea..f7bb1415a327919935df59522fddb94ca43ccc98 100644
--- a/third_party/tlslite/tlslite/messages.py
+++ b/third_party/tlslite/tlslite/messages.py
@@ -194,7 +194,7 @@ class ClientHello(HandshakeMsg):
p2 = Parser(tokenBindingBytes)
ver_minor = p2.get(1)
ver_major = p2.get(1)
- if (ver_major, ver_minor) >= (0, 2):
+ if (ver_major, ver_minor) >= (0, 3):
p2.startLengthCheck(1)
while not p2.atLengthCheck():
self.tb_client_params.append(p2.get(1))
@@ -382,7 +382,7 @@ class ServerHello(HandshakeMsg):
w2.add(4, 2)
# version
w2.add(0, 1)
- w2.add(2, 1)
+ w2.add(4, 1)
# length of params (defined as variable length <1..2^8-1>, but in
# this context the server can only send a single value.
w2.add(1, 1)
« no previous file with comments | « third_party/tlslite/patches/token_binding_negotiation.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698