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

Unified Diff: net/base/cert_verify_proc_win.cc

Issue 10855168: Rename X509Certificate::VerifyFlags to CertVerifier::VerifyFlags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fix 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 side-by-side diff with in-line comments
Download patch
Index: net/base/cert_verify_proc_win.cc
diff --git a/net/base/cert_verify_proc_win.cc b/net/base/cert_verify_proc_win.cc
index 045ea16840c27a02e50f76e0dccc2632bff035d9..db2ad54ef25294be9aefd03622c4203966ceda9d 100644
--- a/net/base/cert_verify_proc_win.cc
+++ b/net/base/cert_verify_proc_win.cc
@@ -13,6 +13,7 @@
#include "crypto/sha2.h"
#include "net/base/asn1_util.h"
#include "net/base/cert_status_flags.h"
+#include "net/base/cert_verifier.h"
#include "net/base/cert_verify_result.h"
#include "net/base/crl_set.h"
#include "net/base/ev_root_ca_metadata.h"
@@ -545,7 +546,7 @@ int CertVerifyProcWin::VerifyInternal(X509Certificate* cert,
DWORD chain_flags = CERT_CHAIN_CACHE_END_CERT |
CERT_CHAIN_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT;
const bool rev_checking_enabled =
- flags & X509Certificate::VERIFY_REV_CHECKING_ENABLED;
+ flags & CertVerifier::VERIFY_REV_CHECKING_ENABLED;
if (rev_checking_enabled) {
verify_result->cert_status |= CERT_STATUS_REV_CHECKING_ENABLED;
@@ -556,7 +557,7 @@ int CertVerifyProcWin::VerifyInternal(X509Certificate* cert,
// Get the certificatePolicies extension of the certificate.
scoped_ptr_malloc<CERT_POLICIES_INFO> policies_info;
LPSTR ev_policy_oid = NULL;
- if (flags & X509Certificate::VERIFY_EV_CERT) {
+ if (flags & CertVerifier::VERIFY_EV_CERT) {
GetCertPoliciesInfo(cert_handle, &policies_info);
if (policies_info.get()) {
EVRootCAMetadata* metadata = EVRootCAMetadata::GetInstance();

Powered by Google App Engine
This is Rietveld 408576698