Index: third_party/tlslite/patches/token_binding_negotiation.patch |
diff --git a/third_party/tlslite/patches/token_binding_negotiation.patch b/third_party/tlslite/patches/token_binding_negotiation.patch |
index 336c11d0b6e17adf536596561250f6b4030ffa47..6f215b36acb702a0025842ed6279709e8e21f469 100644 |
--- a/third_party/tlslite/patches/token_binding_negotiation.patch |
+++ b/third_party/tlslite/patches/token_binding_negotiation.patch |
@@ -65,7 +65,7 @@ index 9b553ce..ab2be57 100644 |
+ 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)) |
@@ -90,7 +90,7 @@ index 9b553ce..ab2be57 100644 |
+ 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) |