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

Side by Side Diff: base/crypto/signature_verifier_mac.cc

Issue 6410105: run iwyu on base! Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: Created 9 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/crypto/signature_creator_mac.cc ('k') | base/crypto/symmetric_key_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include </Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Security.fram ework/Headers/cssmapi.h>
6 #include </Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Security.fram ework/Headers/cssmapple.h>
7 #include </Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Security.fram ework/Headers/cssmtype.h>
8 #include <stdbool.h>
9 #include <stdlib.h>
10 #include <string.h>
11 #include <vector>
12
13 #include "base/basictypes.h"
14 #include "base/crypto/cssm_init.h"
5 #include "base/crypto/signature_verifier.h" 15 #include "base/crypto/signature_verifier.h"
6
7 #include <stdlib.h>
8
9 #include "base/crypto/cssm_init.h"
10 #include "base/logging.h" 16 #include "base/logging.h"
11 17
12 namespace base { 18 namespace base {
13 19
14 SignatureVerifier::SignatureVerifier() : sig_handle_(0) { 20 SignatureVerifier::SignatureVerifier() : sig_handle_(0) {
15 EnsureCSSMInit(); 21 EnsureCSSMInit();
16 } 22 }
17 23
18 SignatureVerifier::~SignatureVerifier() { 24 SignatureVerifier::~SignatureVerifier() {
19 Reset(); 25 Reset();
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 sig_handle_ = 0; 102 sig_handle_ = 0;
97 } 103 }
98 signature_.clear(); 104 signature_.clear();
99 105
100 // Can't call CSSM_FreeKey on public_key_ because we constructed 106 // Can't call CSSM_FreeKey on public_key_ because we constructed
101 // public_key_ manually. 107 // public_key_ manually.
102 } 108 }
103 109
104 } // namespace base 110 } // namespace base
105 111
OLDNEW
« no previous file with comments | « base/crypto/signature_creator_mac.cc ('k') | base/crypto/symmetric_key_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698