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

Issue 259026: Implement signature_creator_mac (Closed)

Created:
11 years, 2 months ago by rafaelw
Modified:
9 years, 7 months ago
Reviewers:
wtc, hawk
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Implement signature_creator_mac. Also moved CSSM memory functions to a common shared location. BUG=20669 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28135

Patch Set 1 #

Total comments: 18

Patch Set 2 : cr changes #

Total comments: 2

Patch Set 3 : cr change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -66 lines) Patch
M base/base.gyp View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M base/crypto/cssm_init.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M base/crypto/cssm_init.cc View 1 2 chunks +24 lines, -3 lines 0 comments Download
M base/crypto/rsa_private_key_mac.cc View 2 chunks +1 line, -27 lines 0 comments Download
M base/crypto/signature_creator.h View 2 chunks +3 lines, -2 lines 0 comments Download
A base/crypto/signature_creator_mac.cc View 1 2 1 chunk +90 lines, -0 lines 0 comments Download
M base/crypto/signature_verifier_mac.cc View 2 chunks +1 line, -29 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
rafaelw
11 years, 2 months ago (2009-10-02 23:07:38 UTC) #1
hawk
http://codereview.chromium.org/259026/diff/1/3 File base/crypto/cssm_init.cc (right): http://codereview.chromium.org/259026/diff/1/3#newcode9 Line 9: #include "base/scoped_ptr.h" Is this include needed? http://codereview.chromium.org/259026/diff/1/7 File ...
11 years, 2 months ago (2009-10-03 01:11:25 UTC) #2
wtc
LGTM, except some extra blank lines and the memory allocation issue with sig.Data that hawk ...
11 years, 2 months ago (2009-10-05 18:33:26 UTC) #3
rafaelw
http://codereview.chromium.org/259026/diff/1/3 File base/crypto/cssm_init.cc (right): http://codereview.chromium.org/259026/diff/1/3#newcode8 Line 8: On 2009/10/05 18:33:26, wtc wrote: > Nit: delete ...
11 years, 2 months ago (2009-10-05 22:46:18 UTC) #4
hawk
LGTM http://codereview.chromium.org/259026/diff/1/7 File base/crypto/signature_creator_mac.cc (right): http://codereview.chromium.org/259026/diff/1/7#newcode86 Line 86: free(sig.Data); // Release data alloc'd by CSSM ...
11 years, 2 months ago (2009-10-05 22:50:14 UTC) #5
wtc
http://codereview.chromium.org/259026/diff/5001/4007 File base/crypto/signature_creator_mac.cc (right): http://codereview.chromium.org/259026/diff/5001/4007#newcode84 Line 84: kCssmMemoryFunctions.free_func(sig.Data); // Release data alloc'd by CSSM Did ...
11 years, 2 months ago (2009-10-06 01:26:35 UTC) #6
rafaelw
11 years, 2 months ago (2009-10-06 02:42:54 UTC) #7
http://codereview.chromium.org/259026/diff/5001/4007
File base/crypto/signature_creator_mac.cc (right):

http://codereview.chromium.org/259026/diff/5001/4007#newcode84
Line 84: kCssmMemoryFunctions.free_func(sig.Data); // Release data alloc'd by
CSSM
On 2009/10/06 01:26:35, wtc wrote:
> Did you test this?  Don't you need to pass NULL as the
> second (alloc_ref) argument to free_func()?

Right you are. I didn't test it yet (I wasn't sitting in front of my mac today
and remoting to it is useless). Corrected.

Powered by Google App Engine
This is Rietveld 408576698