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

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

Issue 10855168: Rename X509Certificate::VerifyFlags to CertVerifier::VerifyFlags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One missed mac define Created 8 years, 4 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 | « net/base/cert_verify_proc_nss.cc ('k') | net/base/cert_verify_proc_unittest.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/cert_verify_proc_openssl.h" 5 #include "net/base/cert_verify_proc_openssl.h"
6 6
7 #include <openssl/x509v3.h> 7 #include <openssl/x509v3.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/sha1.h" 10 #include "base/sha1.h"
11 #include "crypto/openssl_util.h" 11 #include "crypto/openssl_util.h"
12 #include "net/base/asn1_util.h" 12 #include "net/base/asn1_util.h"
13 #include "net/base/cert_status_flags.h" 13 #include "net/base/cert_status_flags.h"
14 #include "net/base/cert_verifier.h"
14 #include "net/base/cert_verify_result.h" 15 #include "net/base/cert_verify_result.h"
15 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
16 #include "net/base/x509_certificate.h" 17 #include "net/base/x509_certificate.h"
17 18
18 #if defined(OS_ANDROID) 19 #if defined(OS_ANDROID)
19 #include "net/android/network_library.h" 20 #include "net/android/network_library.h"
20 #endif 21 #endif
21 22
22 namespace net { 23 namespace net {
23 24
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // TODO(joth): if the motivations described in 269 // TODO(joth): if the motivations described in
269 // http://src.chromium.org/viewvc/chrome?view=rev&revision=80778 become an 270 // http://src.chromium.org/viewvc/chrome?view=rev&revision=80778 become an
270 // issue on OpenSSL builds, we will need to embed a hardcoded list of well 271 // issue on OpenSSL builds, we will need to embed a hardcoded list of well
271 // known root CAs, as per the _mac and _win versions. 272 // known root CAs, as per the _mac and _win versions.
272 verify_result->is_issued_by_known_root = true; 273 verify_result->is_issued_by_known_root = true;
273 274
274 return OK; 275 return OK;
275 } 276 }
276 277
277 } // namespace net 278 } // namespace net
OLDNEW
« no previous file with comments | « net/base/cert_verify_proc_nss.cc ('k') | net/base/cert_verify_proc_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698