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

Issue 258340043: Unit test for bug 11170222 PKCS#11 mechanism

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 8 months ago by ekr-rietveld
Modified:
8 years, 8 months ago
Reviewers:
mt, rbarnes
Visibility:
Public.

Description

Unit test for bug 11170222 PKCS#11 mechanism

Patch Set 1 #

Total comments: 20

Patch Set 2 : Updated per RLB's review #

Total comments: 4

Patch Set 3 : Revised patch set #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -0 lines) Patch
M external_tests/ssl_gtest/manifest.mn View 1 chunk +1 line, -0 lines 0 comments Download
M lib/pk11wrap/pk11mech.c View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M lib/softoken/pkcs11.c View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M lib/softoken/pkcs11c.c View 1 2 1 chunk +97 lines, -0 lines 1 comment Download
M lib/util/pkcs11n.h View 1 2 2 chunks +29 lines, -0 lines 1 comment Download

Messages

Total messages: 13
ekr-rietveld
Barnes, please find attached a first cut at a gtest (not really reviewed). Why don't ...
8 years, 8 months ago (2015-08-19 21:58:02 UTC) #1
rbarnes
This is pretty good. Bunch of nits, and it needs a test for the CKM_TLS_PRF ...
8 years, 8 months ago (2015-08-20 02:14:13 UTC) #2
ekr-rietveld
MT, PTAL. https://codereview.appspot.com/258340043/diff/1/external_tests/ssl_gtest/ssl_prf_unittest.cc File external_tests/ssl_gtest/ssl_prf_unittest.cc (right): https://codereview.appspot.com/258340043/diff/1/external_tests/ssl_gtest/ssl_prf_unittest.cc#newcode21 external_tests/ssl_gtest/ssl_prf_unittest.cc:21: 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f On 2015/08/20 02:14:13, rbarnes wrote: > ...
8 years, 8 months ago (2015-08-20 15:58:00 UTC) #3
mt
I'm not sure about the coverage here. It's certainly good to cover happy path, but ...
8 years, 8 months ago (2015-08-20 21:04:31 UTC) #4
ekr-rietveld
I think at this point Richard should pick this up. My role was mostly gtestizing ...
8 years, 8 months ago (2015-08-20 21:08:23 UTC) #5
rbarnes
I've updated this patch, and sent it to EKR to upload, since AFAICT I can't. ...
8 years, 8 months ago (2015-08-21 20:11:53 UTC) #6
ekr-rietveld
Uploaded
8 years, 8 months ago (2015-08-21 21:27:34 UTC) #7
rbarnes
MT, WDYT?
8 years, 8 months ago (2015-08-21 21:43:42 UTC) #8
mt
LGTM https://codereview.appspot.com/258340043/diff/40001/lib/softoken/pkcs11c.c File lib/softoken/pkcs11c.c (right): https://codereview.appspot.com/258340043/diff/40001/lib/softoken/pkcs11c.c#newcode6148 lib/softoken/pkcs11c.c:6148: SECItem master = { siBuffer, NULL, 0 }; ...
8 years, 8 months ago (2015-08-21 22:09:09 UTC) #9
ekr-rietveld
MT, please advise when tree is open and we will land this.
8 years, 8 months ago (2015-08-21 22:10:15 UTC) #10
rbarnes
EKR, are you going to fix the last nits from MT? Sent from my iPhone. ...
8 years, 8 months ago (2015-08-22 00:39:36 UTC) #11
ekr-rietveld
Why don't you fix and then I can upload for you.
8 years, 8 months ago (2015-08-23 22:07:32 UTC) #12
rbarnes
8 years, 8 months ago (2015-08-24 13:24:49 UTC) #13
Since mt's nits were in the base patch, not the test, I uploaded the new patch
to the bug.

https://bugzilla.mozilla.org/attachment.cgi?id=8651755&action=edit

I think both patches (base + test) are clear to land now.


> On Aug 23, 2015, at 6:07 PM, ekr-webrtc@rtfm.com wrote:
> 
> Why don't you fix and then I can upload for you.
> 
> https://codereview.appspot.com/258340043/

Sign in to reply to this message.

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