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

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

Issue 111853013: Update net/third_party/nss to NSS 3.15.4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Update the comment in sslenum.c for the two CHACHA20 cipher suites 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/paddingextension.patch
===================================================================
--- net/third_party/nss/patches/paddingextension.patch (revision 242942)
+++ net/third_party/nss/patches/paddingextension.patch (working copy)
@@ -1,16 +1,15 @@
-diff --git a/nss/lib/ssl/ssl3con.c b/nss/lib/ssl/ssl3con.c
-index 8b8b758..882e356 100644
---- a/nss/lib/ssl/ssl3con.c
-+++ b/nss/lib/ssl/ssl3con.c
-@@ -4975,6 +4975,7 @@ ssl3_SendClientHello(sslSocket *ss, PRBool resending)
+diff -pu a/nss/lib/ssl/ssl3con.c b/nss/lib/ssl/ssl3con.c
+--- a/nss/lib/ssl/ssl3con.c 2014-01-03 19:03:25.346656907 -0800
++++ b/nss/lib/ssl/ssl3con.c 2014-01-03 19:03:36.916845935 -0800
+@@ -4987,6 +4987,7 @@ ssl3_SendClientHello(sslSocket *ss, PRBo
+ int actual_count = 0;
PRBool isTLS = PR_FALSE;
- PRBool requestingResume = PR_FALSE;
PRInt32 total_exten_len = 0;
+ unsigned paddingExtensionLen;
unsigned numCompressionMethods;
PRInt32 flags;
-@@ -5241,6 +5242,20 @@ ssl3_SendClientHello(sslSocket *ss, PRBool resending)
+@@ -5264,6 +5265,20 @@ ssl3_SendClientHello(sslSocket *ss, PRBo
length += 1 + ss->ssl3.hs.cookieLen;
}
@@ -30,8 +29,8 @@
+
rv = ssl3_AppendHandshakeHeader(ss, client_hello, length);
if (rv != SECSuccess) {
- return rv; /* err set by ssl3_AppendHandshake* */
-@@ -5360,6 +5375,13 @@ ssl3_SendClientHello(sslSocket *ss, PRBool resending)
+ if (sid->u.ssl3.lock) { PR_RWLock_Unlock(sid->u.ssl3.lock); }
+@@ -5398,6 +5413,13 @@ ssl3_SendClientHello(sslSocket *ss, PRBo
return SECFailure;
}
maxBytes -= extLen;
@@ -44,12 +43,11 @@
+
PORT_Assert(!maxBytes);
}
- if (ss->ssl3.hs.sendingSCSV) {
-diff --git a/nss/lib/ssl/ssl3ext.c b/nss/lib/ssl/ssl3ext.c
-index 0415770..cdebcc9 100644
---- a/nss/lib/ssl/ssl3ext.c
-+++ b/nss/lib/ssl/ssl3ext.c
-@@ -2297,3 +2297,56 @@ ssl3_ClientSendSigAlgsXtn(sslSocket * ss, PRBool append, PRUint32 maxBytes)
+
+diff -pu a/nss/lib/ssl/ssl3ext.c b/nss/lib/ssl/ssl3ext.c
+--- a/nss/lib/ssl/ssl3ext.c 2014-01-03 18:58:03.661401846 -0800
++++ b/nss/lib/ssl/ssl3ext.c 2014-01-03 19:03:36.916845935 -0800
+@@ -2315,3 +2315,56 @@ ssl3_ClientSendSigAlgsXtn(sslSocket * ss
loser:
return -1;
}
@@ -106,10 +104,9 @@
+
+ return extensionLen;
+}
-diff --git a/nss/lib/ssl/sslimpl.h b/nss/lib/ssl/sslimpl.h
-index 614eed1..9c789bf 100644
---- a/nss/lib/ssl/sslimpl.h
-+++ b/nss/lib/ssl/sslimpl.h
+diff -pu a/nss/lib/ssl/sslimpl.h b/nss/lib/ssl/sslimpl.h
+--- a/nss/lib/ssl/sslimpl.h 2014-01-03 19:03:25.346656907 -0800
++++ b/nss/lib/ssl/sslimpl.h 2014-01-03 19:03:36.916845935 -0800
@@ -237,6 +237,13 @@ extern PRInt32
ssl3_CallHelloExtensionSenders(sslSocket *ss, PRBool append, PRUint32 maxBytes,
const ssl3HelloExtensionSender *sender);
@@ -124,14 +121,13 @@
/* Socket ops */
struct sslSocketOpsStr {
int (*connect) (sslSocket *, const PRNetAddr *);
-diff --git a/nss/lib/ssl/sslt.h b/nss/lib/ssl/sslt.h
-index a8007d8..e4d188f 100644
---- a/nss/lib/ssl/sslt.h
-+++ b/nss/lib/ssl/sslt.h
+diff -pu a/nss/lib/ssl/sslt.h b/nss/lib/ssl/sslt.h
+--- a/nss/lib/ssl/sslt.h 2014-01-03 19:02:30.135754914 -0800
++++ b/nss/lib/ssl/sslt.h 2014-01-03 19:03:36.916845935 -0800
@@ -205,9 +205,10 @@ typedef enum {
ssl_session_ticket_xtn = 35,
ssl_next_proto_nego_xtn = 13172,
- ssl_channel_id_xtn = 30031,
+ ssl_channel_id_xtn = 30032,
+ ssl_padding_xtn = 35655,
ssl_renegotiation_info_xtn = 0xff01 /* experimental number */
} SSLExtensionType;
« no previous file with comments | « net/third_party/nss/patches/nullcipher_934016.patch ('k') | net/third_party/nss/patches/paddingextensionall.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698