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

Unified Diff: net/third_party/nss/patches/paddingextensionall.patch

Issue 142283002: Update net/third_party/nss to NSS_3_15_5_BETA2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix applypatches.sh mistakes Created 6 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
Index: net/third_party/nss/patches/paddingextensionall.patch
===================================================================
--- net/third_party/nss/patches/paddingextensionall.patch (revision 245705)
+++ net/third_party/nss/patches/paddingextensionall.patch (working copy)
@@ -1,7 +1,7 @@
diff -pu a/nss/lib/ssl/ssl3ext.c b/nss/lib/ssl/ssl3ext.c
---- a/nss/lib/ssl/ssl3ext.c 2014-01-03 19:03:55.557150476 -0800
-+++ b/nss/lib/ssl/ssl3ext.c 2014-01-03 19:04:04.597298171 -0800
-@@ -2324,7 +2324,11 @@ ssl3_CalculatePaddingExtensionLength(uns
+--- a/nss/lib/ssl/ssl3ext.c 2014-01-17 17:59:03.242109996 -0800
++++ b/nss/lib/ssl/ssl3ext.c 2014-01-17 18:17:39.630620563 -0800
+@@ -2332,7 +2332,11 @@ ssl3_CalculatePaddingExtensionLength(uns
clientHelloLength;
unsigned int extensionLength;
@@ -14,12 +14,12 @@
return 0;
}
-@@ -2345,7 +2349,7 @@ ssl3_AppendPaddingExtension(sslSocket *s
+@@ -2353,7 +2357,7 @@ ssl3_AppendPaddingExtension(sslSocket *s
PRUint32 maxBytes)
{
unsigned int paddingLen = extensionLen - 4;
-- unsigned char padding[256];
-+ unsigned char padding[512];
+- static unsigned char padding[256];
++ static unsigned char padding[512];
if (extensionLen == 0) {
return 0;

Powered by Google App Engine
This is Rietveld 408576698