Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(418)

Issue 284710043: Certificate indexing (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 2 months ago by mt
Modified:
7 years, 9 months ago
Visibility:
Public.

Description

First round

Patch Set 1 #

Total comments: 60

Patch Set 2 : Reviewed #1 #

Total comments: 115

Patch Set 3 : Rebased to PSK changes #

Total comments: 22

Patch Set 4 : Self-review changes #

Patch Set 5 : Polishing #

Total comments: 5

Patch Set 6 : Renamed #

Total comments: 2

Patch Set 7 : Bob's review #

Total comments: 22

Patch Set 8 : PTAL #

Total comments: 3

Patch Set 9 : Small correctness updates #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+2180 lines, -1176 lines) Patch
M cmd/selfserv/selfserv.c View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M external_tests/common/scoped_ptrs.h View 1 2 3 4 5 6 1 chunk +13 lines, -9 lines 0 comments Download
M external_tests/ssl_gtest/libssl_internals.c View 1 2 3 4 5 6 1 chunk +5 lines, -2 lines 0 comments Download
M external_tests/ssl_gtest/ssl_loopback_unittest.cc View 1 2 3 4 5 6 7 8 7 chunks +77 lines, -36 lines 0 comments Download
M external_tests/ssl_gtest/tls_agent.h View 1 2 3 4 5 6 7 7 chunks +18 lines, -2 lines 0 comments Download
M external_tests/ssl_gtest/tls_agent.cc View 1 2 3 4 5 6 7 6 chunks +84 lines, -29 lines 0 comments Download
M external_tests/ssl_gtest/tls_connect.h View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M external_tests/ssl_gtest/tls_connect.cc View 1 2 3 4 5 6 7 2 chunks +25 lines, -1 line 0 comments Download
M lib/pk11wrap/pk11auth.c View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 1 comment Download
M lib/ssl/SSLerrs.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M lib/ssl/manifest.mn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M lib/ssl/ssl.h View 1 2 3 4 5 3 chunks +66 lines, -3 lines 0 comments Download
M lib/ssl/ssl.def View 1 chunk +1 line, -0 lines 0 comments Download
M lib/ssl/ssl3con.c View 1 2 3 4 5 6 7 8 53 chunks +310 lines, -261 lines 2 comments Download
M lib/ssl/ssl3ecc.c View 1 2 3 4 5 6 7 8 8 chunks +85 lines, -127 lines 0 comments Download
M lib/ssl/ssl3ext.c View 1 2 3 4 5 6 14 chunks +76 lines, -55 lines 0 comments Download
A lib/ssl/sslcert.h View 1 2 3 4 5 6 7 1 chunk +62 lines, -0 lines 0 comments Download
A lib/ssl/sslcert.c View 1 2 3 4 5 6 7 8 1 chunk +960 lines, -0 lines 1 comment Download
M lib/ssl/sslcon.c View 1 2 1 chunk +1 line, -1 line 0 comments Download
M lib/ssl/sslimpl.h View 1 2 3 4 5 6 15 chunks +72 lines, -83 lines 0 comments Download
M lib/ssl/sslinfo.c View 1 2 3 4 5 6 1 chunk +103 lines, -80 lines 0 comments Download
M lib/ssl/sslsecur.c View 1 2 1 chunk +0 lines, -254 lines 0 comments Download
M lib/ssl/sslsnce.c View 1 2 3 4 5 6 9 chunks +47 lines, -23 lines 0 comments Download
M lib/ssl/sslsock.c View 1 2 3 4 5 6 9 chunks +57 lines, -134 lines 0 comments Download
M lib/ssl/sslt.h View 1 2 3 4 5 6 7 chunks +40 lines, -6 lines 0 comments Download
M lib/ssl/tls13con.c View 1 2 3 4 5 6 7 8 16 chunks +66 lines, -66 lines 0 comments Download

Messages

Total messages: 18
mt
Wan-Teh, ekr, this is really just FYI. Tim, sorry to dump a large patch on ...
8 years, 2 months ago (2016-02-21 00:18:11 UTC) #1
ttaubert
LGTM, great cleanup. The code is a lot easier to understand and we have RSA-PSS, ...
8 years, 2 months ago (2016-02-25 15:36:53 UTC) #2
mt
Thanks for the comments Tim. ekr, PTAL https://codereview.appspot.com/284710043/diff/1/external_tests/ssl_gtest/tls_agent.h File external_tests/ssl_gtest/tls_agent.h (right): https://codereview.appspot.com/284710043/diff/1/external_tests/ssl_gtest/tls_agent.h#newcode77 external_tests/ssl_gtest/tls_agent.h:77: void EnableCiphersByAuthAlgorithm(SSLAuthType ...
8 years, 2 months ago (2016-03-03 07:28:57 UTC) #3
ekr-rietveld
IMPORTANT: I think you may have broken the ABI. See below. IMPORTANT: I did not ...
8 years, 2 months ago (2016-03-05 21:31:49 UTC) #4
mt
https://codereview.appspot.com/284710043/diff/20001/external_tests/ssl_gtest/libssl_internals.c File external_tests/ssl_gtest/libssl_internals.c (right): https://codereview.appspot.com/284710043/diff/20001/external_tests/ssl_gtest/libssl_internals.c#newcode17 external_tests/ssl_gtest/libssl_internals.c:17: sslSocket *ss = ssl_FindSocket(fd); On 2016/03/05 21:31:45, ekr-webrtc wrote: ...
8 years, 2 months ago (2016-03-07 12:12:55 UTC) #5
mt
8 years, 1 month ago (2016-03-22 05:12:01 UTC) #6
mt
Tim, ekr, can you sanity check this for be please? I've highlighted areas that you ...
8 years, 1 month ago (2016-03-22 05:49:42 UTC) #7
ekr-rietveld
This patchset doesn't compile for me when applied to master ssl3con.c:8298:18: error: no member named ...
8 years, 1 month ago (2016-03-23 18:17:10 UTC) #8
ekr-rietveld
https://codereview.appspot.com/284710043/diff/20001/lib/ssl/ssl3con.c File lib/ssl/ssl3con.c (right): https://codereview.appspot.com/284710043/diff/20001/lib/ssl/ssl3con.c#newcode887 lib/ssl/ssl3con.c:887: if (cipher_alg != calg_null && !PK11_TokenExists(cipher_mech)) { On 2016/03/07 ...
8 years, 1 month ago (2016-04-01 02:26:56 UTC) #9
mt
I'll have to answer on the other one as well before I'm done. https://codereview.appspot.com/284710043/diff/20001/lib/ssl/ssl3con.c File ...
8 years, 1 month ago (2016-04-02 13:15:32 UTC) #10
mt
Updated based on Bob's review, PTAL
8 years ago (2016-04-15 04:56:31 UTC) #11
ekr-rietveld
See below for comments about what confuses me. https://codereview.appspot.com/284710043/diff/90001/lib/ssl/sslcert.c File lib/ssl/sslcert.c (right): https://codereview.appspot.com/284710043/diff/90001/lib/ssl/sslcert.c#newcode203 lib/ssl/sslcert.c:203: PORT_SetError(SEC_ERROR_INVALID_ARGS); ...
8 years ago (2016-04-16 23:02:44 UTC) #12
mt
PTAL
8 years ago (2016-04-18 01:38:26 UTC) #13
ekr-rietveld
MT, can you respond to my comments, pls, so I have context.
8 years ago (2016-04-18 01:43:19 UTC) #14
mt
https://codereview.appspot.com/284710043/diff/90001/lib/ssl/sslcert.c File lib/ssl/sslcert.c (right): https://codereview.appspot.com/284710043/diff/90001/lib/ssl/sslcert.c#newcode203 lib/ssl/sslcert.c:203: PORT_SetError(SEC_ERROR_INVALID_ARGS); /* zero bits! */ On 2016/04/16 23:02:43, ekr-webrtc ...
8 years ago (2016-04-18 01:50:58 UTC) #15
ekr-rietveld
https://codereview.appspot.com/284710043/diff/110001/external_tests/ssl_gtest/ssl_loopback_unittest.cc File external_tests/ssl_gtest/ssl_loopback_unittest.cc (right): https://codereview.appspot.com/284710043/diff/110001/external_tests/ssl_gtest/ssl_loopback_unittest.cc#newcode343 external_tests/ssl_gtest/ssl_loopback_unittest.cc:343: EXPECT_FALSE(SECITEM_ItemsAreEqual(&cert1->derCert, &cert2->derCert)); On 2016/04/18 01:50:57, mt wrote: > On ...
8 years ago (2016-04-18 03:24:26 UTC) #16
mt
Small correctness updates
8 years ago (2016-04-19 00:20:42 UTC) #17
rrelyea
8 years ago (2016-04-21 21:02:23 UTC) #18
Looks good now r+ rrelyea. 

I have a few very minor comments. none serious enough to prevent the patch from
being checked in as is.

https://codereview.appspot.com/284710043/diff/150001/lib/pk11wrap/pk11auth.c
File lib/pk11wrap/pk11auth.c (right):

https://codereview.appspot.com/284710043/diff/150001/lib/pk11wrap/pk11auth.c#...
lib/pk11wrap/pk11auth.c:316: }
I'm not sure why this was necessary, But it is a fine change.

bob

https://codereview.appspot.com/284710043/diff/150001/lib/ssl/ssl3con.c
File lib/ssl/ssl3con.c (right):

https://codereview.appspot.com/284710043/diff/150001/lib/ssl/ssl3con.c#newcod...
lib/ssl/ssl3con.c:484: 0x80000000L, /* ssl_auth_null */
probably CKM_INVALID_MECHANISM would be better

https://codereview.appspot.com/284710043/diff/150001/lib/ssl/ssl3con.c#newcod...
lib/ssl/ssl3con.c:487: 0x80000000L, /* ssl_auth_kea (unused) */
See above

https://codereview.appspot.com/284710043/diff/150001/lib/ssl/sslcert.c
File lib/ssl/sslcert.c (right):

https://codereview.appspot.com/284710043/diff/150001/lib/ssl/sslcert.c#newcod...
lib/ssl/sslcert.c:456: }
Yes, this is much clearer! (and correct now):).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b