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

Unified Diff: net/base/x509_certificate.cc

Issue 8342054: net: enable CRL sets behind a command line flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 2 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/x509_certificate.cc
diff --git a/net/base/x509_certificate.cc b/net/base/x509_certificate.cc
index 915838897e80ac7c5517c19357aa59f706969dbd..ffb9b6b593dc4b3aa3ee8d8a6b1517ae6595d510 100644
--- a/net/base/x509_certificate.cc
+++ b/net/base/x509_certificate.cc
@@ -584,8 +584,10 @@ bool X509Certificate::VerifyHostname(
return false;
}
-int X509Certificate::Verify(const std::string& hostname, int flags,
- CertVerifyResult* verify_result) const {
+int X509Certificate::Verify(const std::string& hostname,
+ int flags,
+ CertVerifyResult* verify_result,
+ CRLSet* crl_set) const {
verify_result->Reset();
verify_result->verified_cert = const_cast<X509Certificate*>(this);
@@ -594,7 +596,7 @@ int X509Certificate::Verify(const std::string& hostname, int flags,
return ERR_CERT_REVOKED;
}
- int rv = VerifyInternal(hostname, flags, verify_result);
+ int rv = VerifyInternal(hostname, flags, verify_result, crl_set);
// This check is done after VerifyInternal so that VerifyInternal can fill in
// the list of public key hashes.

Powered by Google App Engine
This is Rietveld 408576698