OLD | NEW |
1 diff --git a/third_party/tlslite/tlslite/constants.py b/third_party/tlslite/tlsl
ite/constants.py | 1 diff --git a/third_party/tlslite/tlslite/constants.py b/third_party/tlslite/tlsl
ite/constants.py |
2 index d52e596..79ad145 100755 | 2 index d52e596..79ad145 100755 |
3 --- a/third_party/tlslite/tlslite/constants.py | 3 --- a/third_party/tlslite/tlslite/constants.py |
4 +++ b/third_party/tlslite/tlslite/constants.py | 4 +++ b/third_party/tlslite/tlslite/constants.py |
5 @@ -31,6 +31,7 @@ class HandshakeType: | 5 @@ -31,6 +31,7 @@ class HandshakeType: |
6 client_key_exchange = 16 | 6 client_key_exchange = 16 |
7 finished = 20 | 7 finished = 20 |
8 next_protocol = 67 | 8 next_protocol = 67 |
9 + encrypted_extensions = 203 | 9 + encrypted_extensions = 203 |
10 | 10 |
11 class ContentType: | 11 class ContentType: |
12 change_cipher_spec = 20 | 12 change_cipher_spec = 20 |
13 @@ -45,6 +46,7 @@ class ExtensionType: # RFC 6066 / 4366 | 13 @@ -45,6 +46,7 @@ class ExtensionType: # RFC 6066 / 4366 |
14 cert_type = 9 # RFC 6091 | 14 cert_type = 9 # RFC 6091 |
15 tack = 0xF300 | 15 tack = 0xF300 |
16 supports_npn = 13172 | 16 supports_npn = 13172 |
17 + channel_id = 30031 | 17 + channel_id = 30032 |
18 | 18 |
19 class NameType: | 19 class NameType: |
20 host_name = 0 | 20 host_name = 0 |
21 diff --git a/third_party/tlslite/tlslite/messages.py b/third_party/tlslite/tlsli
te/messages.py | 21 diff --git a/third_party/tlslite/tlslite/messages.py b/third_party/tlslite/tlsli
te/messages.py |
22 index 7ef4e3f..246082e 100755 | 22 index 7ef4e3f..246082e 100755 |
23 --- a/third_party/tlslite/tlslite/messages.py | 23 --- a/third_party/tlslite/tlslite/messages.py |
24 +++ b/third_party/tlslite/tlslite/messages.py | 24 +++ b/third_party/tlslite/tlslite/messages.py |
25 @@ -112,6 +112,7 @@ class ClientHello(HandshakeMsg): | 25 @@ -112,6 +112,7 @@ class ClientHello(HandshakeMsg): |
26 self.tack = False | 26 self.tack = False |
27 self.supports_npn = False | 27 self.supports_npn = False |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 +++ b/third_party/tlslite/tlslite/tlsrecordlayer.py | 164 +++ b/third_party/tlslite/tlslite/tlsrecordlayer.py |
165 @@ -800,6 +800,8 @@ class TLSRecordLayer(object): | 165 @@ -800,6 +800,8 @@ class TLSRecordLayer(object): |
166 yield Finished(self.version).parse(p) | 166 yield Finished(self.version).parse(p) |
167 elif subType == HandshakeType.next_protocol: | 167 elif subType == HandshakeType.next_protocol: |
168 yield NextProtocol().parse(p) | 168 yield NextProtocol().parse(p) |
169 + elif subType == HandshakeType.encrypted_extensions: | 169 + elif subType == HandshakeType.encrypted_extensions: |
170 + yield EncryptedExtensions().parse(p) | 170 + yield EncryptedExtensions().parse(p) |
171 else: | 171 else: |
172 raise AssertionError() | 172 raise AssertionError() |
173 | 173 |
OLD | NEW |