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

Unified Diff: third_party/tlslite/patches/ssl3_padding.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tlslite/patches/srp_cert.patch ('k') | third_party/tlslite/patches/status_request.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tlslite/patches/ssl3_padding.patch
diff --git a/third_party/tlslite/patches/ssl3_padding.patch b/third_party/tlslite/patches/ssl3_padding.patch
index 2c6e28acc616ee5377b225a4021a045e8b01572e..6f720ac08d6f642214446eb260b2579f87190b33 100644
--- a/third_party/tlslite/patches/ssl3_padding.patch
+++ b/third_party/tlslite/patches/ssl3_padding.patch
@@ -1,14 +1,12 @@
diff --git a/third_party/tlslite/tlslite/tlsrecordlayer.py b/third_party/tlslite/tlslite/tlsrecordlayer.py
-index ff08cbf..8b92221 100644
+index f18fcf5..01ff3e9 100644
--- a/third_party/tlslite/tlslite/tlsrecordlayer.py
+++ b/third_party/tlslite/tlslite/tlsrecordlayer.py
-@@ -586,10 +586,10 @@ class TLSRecordLayer(object):
- if self.version == (3,2):
+@@ -592,9 +592,9 @@ class TLSRecordLayer(object):
b = self.fixedIVBlock + b
-- #Add padding: b = b+ (macBytes + paddingBytes)
+ #Add padding: b = b+ (macBytes + paddingBytes)
- currentLength = len(b) + len(macBytes) + 1
-+ #Add padding: b = b + (macBytes + paddingBytes)
+ currentLength = len(b) + len(macBytes)
blockLength = self._writeState.encContext.block_size
- paddingLength = blockLength-(currentLength % blockLength)
« no previous file with comments | « third_party/tlslite/patches/srp_cert.patch ('k') | third_party/tlslite/patches/status_request.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698