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

Unified Diff: third_party/tlslite/tlslite/tlsconnection.py

Issue 418553003: Implement TLS_FALLBACK_SCSV for SSLClientSocketOpenSSL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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
« no previous file with comments | « third_party/tlslite/patches/fallback_scsv.patch ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tlslite/tlslite/tlsconnection.py
diff --git a/third_party/tlslite/tlslite/tlsconnection.py b/third_party/tlslite/tlslite/tlsconnection.py
index 7c1572fc9c8a9913a39dae5ae7a1adf1b97348cf..996b7e99864f4d6ba4d4af536eca061e34bf8735 100644
--- a/third_party/tlslite/tlslite/tlsconnection.py
+++ b/third_party/tlslite/tlslite/tlsconnection.py
@@ -1428,6 +1428,7 @@ class TLSConnection(TLSRecordLayer):
#Detect if the client performed an inappropriate fallback.
elif fallbackSCSV and clientHello.client_version < settings.maxVersion:
+ self.version = clientHello.client_version
if CipherSuite.TLS_FALLBACK_SCSV in clientHello.cipher_suites:
for result in self._sendError(\
AlertDescription.inappropriate_fallback):
« no previous file with comments | « third_party/tlslite/patches/fallback_scsv.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698