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

Issue 14522022: Update NSS libSSL to NSS_3_15_BETA2. (Closed)

Created:
7 years, 8 months ago by wtc
Modified:
7 years, 7 months ago
Reviewers:
agl, Ryan Sleevi
CC:
chromium-reviews, Aaron Boodman, cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Update NSS libSSL to NSS_3_15_BETA2. The OCSP stapling patch has been accepted by the NSS upstream, but the SSL_GetStapledOCSPResponse function is renamed SSL_PeerStapledOCSPResponses and the function prototype changed to use the new SECItemArray type. Many source files contain only a trivial CVS keyword change because the NSS upstream repository was migrated from CVS to hg (Mercurial). R=agl@chromium.org,rsleevi@chromium.org BUG=233732 TEST=no build errors or test failures Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=197918

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix the bug in ssl3_SuiteBOnly #

Patch Set 3 : Remove debugging code, reduce diffs in ssl3ext.c, update exports_win.def #

Patch Set 4 : Adjust secitemarray.patch, remove handlecertloser.patch #

Total comments: 6

Patch Set 5 : Remove unused variables in ssl3con.c, improve memory leak fix in secitem_array.c #

Patch Set 6 : Add unusedvariables.patch, remove secitem_array.c (added separately) #

Patch Set 7 : Sync README.chromium #

Total comments: 16

Patch Set 8 : Make the changes rsleevi suggested #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+973 lines, -1716 lines) Patch
M net/socket/ssl_client_socket_nss.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -15 lines 0 comments Download
M net/third_party/nss/README.chromium View 1 2 3 4 5 6 7 6 chunks +25 lines, -26 lines 0 comments Download
M net/third_party/nss/patches/aes256keylength.patch View 1 2 1 chunk +3 lines, -7 lines 0 comments Download
M net/third_party/nss/patches/applypatches.sh View 1 2 3 4 1 chunk +18 lines, -20 lines 0 comments Download
M net/third_party/nss/patches/cachecerts.patch View 1 2 7 chunks +20 lines, -20 lines 0 comments Download
M net/third_party/nss/patches/cbc.patch View 1 2 2 chunks +48 lines, -486 lines 0 comments Download
M net/third_party/nss/patches/channelid.patch View 1 2 23 chunks +67 lines, -67 lines 0 comments Download
M net/third_party/nss/patches/clientauth.patch View 1 2 34 chunks +81 lines, -87 lines 0 comments Download
M net/third_party/nss/patches/didhandshakeresume.patch View 1 2 2 chunks +9 lines, -9 lines 0 comments Download
D net/third_party/nss/patches/dtlsinitclist.patch View 1 chunk +0 lines, -16 lines 0 comments Download
M net/third_party/nss/patches/ecpointform.patch View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
D net/third_party/nss/patches/falsestartnpn.patch View 1 chunk +0 lines, -49 lines 0 comments Download
M net/third_party/nss/patches/getrequestedclientcerttypes.patch View 1 2 6 chunks +19 lines, -19 lines 0 comments Download
M net/third_party/nss/patches/negotiatedextension.patch View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
D net/third_party/nss/patches/ocspstapling.patch View 1 chunk +0 lines, -487 lines 0 comments Download
M net/third_party/nss/patches/peercertchain.patch View 1 2 2 chunks +9 lines, -9 lines 0 comments Download
M net/third_party/nss/patches/renegoscsv.patch View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M net/third_party/nss/patches/restartclientauth.patch View 1 2 4 chunks +14 lines, -14 lines 0 comments Download
A net/third_party/nss/patches/secitemarray.patch View 1 2 3 4 5 6 7 1 chunk +42 lines, -0 lines 0 comments Download
M net/third_party/nss/patches/secretexporterlocks.patch View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
D net/third_party/nss/patches/sslkeylogerror.patch View 1 chunk +0 lines, -23 lines 0 comments Download
A net/third_party/nss/patches/suitebonly.patch View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M net/third_party/nss/patches/tlsunique.patch View 1 2 4 chunks +15 lines, -15 lines 0 comments Download
A net/third_party/nss/patches/unusedvariables.patch View 1 2 3 4 5 6 7 1 chunk +14 lines, -0 lines 0 comments Download
M net/third_party/nss/patches/versionskew.patch View 1 2 3 chunks +8 lines, -8 lines 0 comments Download
M net/third_party/nss/ssl.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M net/third_party/nss/ssl/authcert.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/cmpcert.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/derive.c View 2 chunks +4 lines, -3 lines 0 comments Download
M net/third_party/nss/ssl/dtlscon.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/exports_win.def View 1 2 2 chunks +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/manifest.mn View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/notes.txt View 1 chunk +3 lines, -3 lines 0 comments Download
M net/third_party/nss/ssl/os2_err.h View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/os2_err.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/preenc.h View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/prelib.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/ssl.h View 4 chunks +40 lines, -18 lines 0 comments Download
M net/third_party/nss/ssl/ssl3con.c View 1 2 3 4 28 chunks +182 lines, -152 lines 2 comments Download
M net/third_party/nss/ssl/ssl3ecc.c View 1 7 chunks +64 lines, -9 lines 2 comments Download
M net/third_party/nss/ssl/ssl3ext.c View 1 2 9 chunks +90 lines, -43 lines 4 comments Download
M net/third_party/nss/ssl/ssl3gthr.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/ssl3prot.h View 2 chunks +2 lines, -2 lines 0 comments Download
M net/third_party/nss/ssl/sslauth.c View 3 chunks +13 lines, -3 lines 2 comments Download
M net/third_party/nss/ssl/sslcon.c View 2 chunks +2 lines, -2 lines 0 comments Download
M net/third_party/nss/ssl/ssldef.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/sslenum.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/sslerr.h View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/sslerr.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/sslgathr.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/sslimpl.h View 1 2 3 11 chunks +18 lines, -20 lines 0 comments Download
M net/third_party/nss/ssl/sslinfo.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/sslinit.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/sslmutex.h View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/sslmutex.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/sslnonce.c View 4 chunks +9 lines, -3 lines 0 comments Download
M net/third_party/nss/ssl/sslplatf.c View 5 chunks +5 lines, -5 lines 0 comments Download
M net/third_party/nss/ssl/sslproto.h View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/sslreveal.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/sslsecur.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/sslsnce.c View 2 chunks +2 lines, -2 lines 0 comments Download
M net/third_party/nss/ssl/sslsock.c View 14 chunks +65 lines, -33 lines 0 comments Download
M net/third_party/nss/ssl/sslt.h View 1 2 3 4 5 6 7 1 chunk +14 lines, -1 line 0 comments Download
M net/third_party/nss/ssl/ssltrace.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/unix_err.h View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/unix_err.c View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/win32err.h View 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/ssl/win32err.c View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
wtc
These comments are notes to myself. You can ignore them. https://chromiumcodereview.appspot.com/14522022/diff/1/net/third_party/nss/ssl/ssl3ext.c File net/third_party/nss/ssl/ssl3ext.c (left): https://chromiumcodereview.appspot.com/14522022/diff/1/net/third_party/nss/ssl/ssl3ext.c#oldcode711 ...
7 years, 7 months ago (2013-04-29 17:44:36 UTC) #1
wtc
This CL is ready for review. Please ignore the try bot errors for now. I ...
7 years, 7 months ago (2013-04-29 18:09:58 UTC) #2
wtc
agl, rsleevi: have you had a chance to look at this CL? Thanks.
7 years, 7 months ago (2013-05-01 16:39:23 UTC) #3
Ryan Sleevi
Mostly rants here about certain style decisions. I'm not fully sure I grok why Kai ...
7 years, 7 months ago (2013-05-01 19:06:08 UTC) #4
wtc
rsleevi: thank you for the code review. I made the changes you suggested. You can ...
7 years, 7 months ago (2013-05-01 21:52:16 UTC) #5
Ryan Sleevi
https://codereview.chromium.org/14522022/diff/60075/net/third_party/nss/ssl/ssl3con.c File net/third_party/nss/ssl/ssl3con.c (right): https://codereview.chromium.org/14522022/diff/60075/net/third_party/nss/ssl/ssl3con.c#newcode8776 net/third_party/nss/ssl/ssl3con.c:8776: #undef MAX_CERTSTATUS_LEN On 2013/05/01 21:52:16, wtc wrote: > > ...
7 years, 7 months ago (2013-05-01 23:22:57 UTC) #6
agl
On Wed, May 1, 2013 at 12:39 PM, <wtc@chromium.org> wrote: > agl, rsleevi: have you ...
7 years, 7 months ago (2013-05-01 23:28:08 UTC) #7
wtc
https://chromiumcodereview.appspot.com/14522022/diff/1/net/third_party/nss/ssl/ssl3ext.c File net/third_party/nss/ssl/ssl3ext.c (left): https://chromiumcodereview.appspot.com/14522022/diff/1/net/third_party/nss/ssl/ssl3ext.c#oldcode711 net/third_party/nss/ssl/ssl3ext.c:711: return SECFailure; On 2013/04/29 17:44:36, wtc wrote: > > ...
7 years, 7 months ago (2013-05-01 23:58:37 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/14522022/78001
7 years, 7 months ago (2013-05-01 23:59:39 UTC) #9
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=35813
7 years, 7 months ago (2013-05-02 02:58:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/14522022/78001
7 years, 7 months ago (2013-05-02 13:03:05 UTC) #11
commit-bot: I haz the power
Change committed as 197918
7 years, 7 months ago (2013-05-02 14:22:05 UTC) #12
agl
LGTM https://chromiumcodereview.appspot.com/14522022/diff/78001/net/third_party/nss/ssl/ssl3con.c File net/third_party/nss/ssl/ssl3con.c (right): https://chromiumcodereview.appspot.com/14522022/diff/78001/net/third_party/nss/ssl/ssl3con.c#newcode8778 net/third_party/nss/ssl/ssl3con.c:8778: /* Array size 1, because we currently implement ...
7 years, 7 months ago (2013-05-02 14:43:57 UTC) #13
wtc
7 years, 7 months ago (2013-05-02 22:32:00 UTC) #14
Message was sent while issue was closed.
agl: thanks for the review. I will fix the problems you
pointed out in the NSS upstream.

https://chromiumcodereview.appspot.com/14522022/diff/78001/net/third_party/ns...
File net/third_party/nss/ssl/ssl3con.c (right):

https://chromiumcodereview.appspot.com/14522022/diff/78001/net/third_party/ns...
net/third_party/nss/ssl/ssl3con.c:8778: /* Array size 1, because we currently
implement single-stapling only*/
On 2013/05/02 14:43:57, agl wrote:
> nit: missing space before "*/"

Done.

https://chromiumcodereview.appspot.com/14522022/diff/78001/net/third_party/ns...
File net/third_party/nss/ssl/ssl3ecc.c (right):

https://chromiumcodereview.appspot.com/14522022/diff/78001/net/third_party/ns...
net/third_party/nss/ssl/ssl3ecc.c:1061: int ECListSize = 0;
On 2013/05/02 14:43:57, agl wrote:
> nit: starting with a capital letter is odd for a local variable.

Done.

https://chromiumcodereview.appspot.com/14522022/diff/78001/net/third_party/ns...
File net/third_party/nss/ssl/ssl3ext.c (right):

https://chromiumcodereview.appspot.com/14522022/diff/78001/net/third_party/ns...
net/third_party/nss/ssl/ssl3ext.c:69: PRBool      append, PRUint32    maxBytes);
On 2013/05/02 14:43:57, agl wrote:
> nit: odd spacing here.

Done.

https://chromiumcodereview.appspot.com/14522022/diff/78001/net/third_party/ns...
net/third_party/nss/ssl/ssl3ext.c:73: PRUint16 ex_type,
On 2013/05/02 14:43:57, agl wrote:
> This seems to be one space too few (and in the next one). It may just be a
> tabs/spaces thing in codereview however.

Done. It is one space too few.

https://chromiumcodereview.appspot.com/14522022/diff/78001/net/third_party/ns...
File net/third_party/nss/ssl/sslauth.c (right):

https://chromiumcodereview.appspot.com/14522022/diff/78001/net/third_party/ns...
net/third_party/nss/ssl/sslauth.c:11: #include "ocsp.h"
On 2013/05/02 14:43:57, agl wrote:
> nit: these headers are no longer sorted.

NSS doesn't require the headers to be sorted, so I'll leave
this unchanged.

Powered by Google App Engine
This is Rietveld 408576698