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

Side by Side Diff: third_party/tlslite/patches/token_binding_version.patch

Issue 2337253004: Update Token Binding code to the latest drafts (Closed)
Patch Set: Add call to CBS_len() Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 diff --git a/third_party/tlslite/tlslite/messages.py b/third_party/tlslite/tlsli te/messages.py
2 index 1ce9320..ac7e563 100644
3 --- a/third_party/tlslite/tlslite/messages.py
4 +++ b/third_party/tlslite/tlslite/messages.py
5 @@ -223,7 +224,7 @@ class ClientHello(HandshakeMsg):
6 p2 = Parser(tokenBindingBytes)
7 ver_minor = p2.get(1)
8 ver_major = p2.get(1)
9 - if (ver_major, ver_minor) >= (0, 6):
10 + if (ver_major, ver_minor) >= (0, 10):
11 p2.startLengthCheck(1)
12 while not p2.atLengthCheck():
13 self.tb_client_params.append(p2.get(1))
14 @@ -421,7 +431,7 @@ class ServerHello(HandshakeMsg):
15 w2.add(4, 2)
16 # version
17 w2.add(0, 1)
18 - w2.add(6, 1)
19 + w2.add(10, 1)
20 # length of params (defined as variable length <1..2^8-1>, but in
21 # this context the server can only send a single value.
22 w2.add(1, 1)
OLDNEW
« no previous file with comments | « third_party/tlslite/patches/renegotiation_indication.patch ('k') | third_party/tlslite/tlslite/constants.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698