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

Side by Side Diff: third_party/tlslite/patches/client_cipher_preferences.patch

Issue 858373002: Update third_party/tlslite to 0.4.8. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finish fixing client auth Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « third_party/tlslite/patches/channel_id.patch ('k') | third_party/tlslite/patches/dhe_rsa.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff --git a/third_party/tlslite/tlslite/tlsconnection.py b/third_party/tlslite/ tlslite/tlsconnection.py
2 index b9797d2..20cd85b 100755
3 --- a/third_party/tlslite/tlslite/tlsconnection.py
4 +++ b/third_party/tlslite/tlslite/tlsconnection.py
5 @@ -1386,10 +1386,9 @@ class TLSConnection(TLSRecordLayer):
6 #the only time we won't use it is if we're resuming a
7 #session, in which case we use the ciphersuite from the session.
8 #
9 - #Given the current ciphersuite ordering, this means we prefer SRP
10 - #over non-SRP.
11 - for cipherSuite in cipherSuites:
12 - if cipherSuite in clientHello.cipher_suites:
13 + #Use the client's preferences for now.
14 + for cipherSuite in clientHello.cipher_suites:
15 + if cipherSuite in cipherSuites:
16 break
17 else:
18 for result in self._sendError(\
OLDNEW
« no previous file with comments | « third_party/tlslite/patches/channel_id.patch ('k') | third_party/tlslite/patches/dhe_rsa.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698