Index: third_party/tlslite/patches/save_client_hello.patch |
diff --git a/third_party/tlslite/patches/save_client_hello.patch b/third_party/tlslite/patches/save_client_hello.patch |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aaa5d24bfc1c440d425ba4eb56fc4904d7fd1a0c |
--- /dev/null |
+++ b/third_party/tlslite/patches/save_client_hello.patch |
@@ -0,0 +1,14 @@ |
+diff --git a/third_party/tlslite/tlslite/tlsconnection.py b/third_party/tlslite/tlslite/tlsconnection.py |
+index 996b7e9..06aa0c9 100644 |
+--- a/third_party/tlslite/tlslite/tlsconnection.py |
++++ b/third_party/tlslite/tlslite/tlsconnection.py |
+@@ -1261,6 +1261,9 @@ class TLSConnection(TLSRecordLayer): |
+ return # Handshake was resumed, we're done |
+ else: break |
+ (clientHello, cipherSuite) = result |
++ |
++ # Save the ClientHello for external code to query. |
++ self.clientHello = clientHello |
+ |
+ #If not a resumption... |
+ |