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

Unified Diff: third_party/tlslite/patches/save_randoms.patch

Issue 1781003003: Implement referred Token Bindings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/tlslite/patches/save_randoms.patch
diff --git a/third_party/tlslite/patches/save_randoms.patch b/third_party/tlslite/patches/save_randoms.patch
new file mode 100644
index 0000000000000000000000000000000000000000..ceb469719af71469e4256a92e596c3f7c27cda7a
--- /dev/null
+++ b/third_party/tlslite/patches/save_randoms.patch
@@ -0,0 +1,13 @@
+diff --git a/third_party/tlslite/tlslite/tlsconnection.py b/third_party/tlslite/tlslite/tlsconnection.py
+index e42b362..41aab85 100644
+--- a/third_party/tlslite/tlslite/tlsconnection.py
++++ b/third_party/tlslite/tlslite/tlsconnection.py
+@@ -1570,6 +1570,8 @@ class TLSConnection(TLSRecordLayer):
+ #Set the session
+ self.session = session
+
++ self.clientRandom = clientHello.random
++ self.serverRandom = serverHello.random
+ yield None # Handshake done!
+
+ #Calculate the first cipher suite intersection.

Powered by Google App Engine
This is Rietveld 408576698