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

Side by Side Diff: net/base/x509_certificate_mac.cc

Issue 5162001: X.509-related cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More files broke Created 10 years, 1 month 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 | « net/base/x509_certificate.cc ('k') | net/base/x509_certificate_win.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "net/base/x509_certificate.h" 5 #include "net/base/x509_certificate.h"
6 6
7 #include <CommonCrypto/CommonDigest.h> 7 #include <CommonCrypto/CommonDigest.h>
8 #include <Security/Security.h> 8 #include <Security/Security.h>
9 #include <time.h> 9 #include <time.h>
10 10
11 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/pickle.h" 13 #include "base/pickle.h"
14 #include "base/singleton.h"
14 #include "base/mac/scoped_cftyperef.h" 15 #include "base/mac/scoped_cftyperef.h"
15 #include "base/sys_string_conversions.h" 16 #include "base/sys_string_conversions.h"
16 #include "net/base/cert_status_flags.h" 17 #include "net/base/cert_status_flags.h"
17 #include "net/base/cert_verify_result.h" 18 #include "net/base/cert_verify_result.h"
18 #include "net/base/net_errors.h" 19 #include "net/base/net_errors.h"
19 20
20 using base::mac::ScopedCFTypeRef; 21 using base::mac::ScopedCFTypeRef;
21 using base::Time; 22 using base::Time;
22 23
23 namespace net { 24 namespace net {
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 } 1010 }
1010 CFRelease(cert_chain); 1011 CFRelease(cert_chain);
1011 } 1012 }
1012 exit: 1013 exit:
1013 if (result) 1014 if (result)
1014 LOG(ERROR) << "CreateIdentityCertificateChain error " << result; 1015 LOG(ERROR) << "CreateIdentityCertificateChain error " << result;
1015 return chain.release(); 1016 return chain.release();
1016 } 1017 }
1017 1018
1018 } // namespace net 1019 } // namespace net
OLDNEW
« no previous file with comments | « net/base/x509_certificate.cc ('k') | net/base/x509_certificate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698