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

Unified Diff: net/cert/cert_verify_proc.cc

Issue 2662673002: Restrict the set of WoSign/StartCom certs to the Alexa Top 1M (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « net/BUILD.gn ('k') | net/cert/cert_verify_proc_whitelist.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/cert_verify_proc.cc
diff --git a/net/cert/cert_verify_proc.cc b/net/cert/cert_verify_proc.cc
index a20ee3f24e29be7859a396241c23ccd30bdfdc01..d946256101271119c9d3f0f68ddb53651f1aa8cf 100644
--- a/net/cert/cert_verify_proc.cc
+++ b/net/cert/cert_verify_proc.cc
@@ -513,7 +513,7 @@ int CertVerifyProc::Verify(X509Certificate* cert,
}
if (IsNonWhitelistedCertificate(*verify_result->verified_cert,
- verify_result->public_key_hashes)) {
+ verify_result->public_key_hashes, hostname)) {
verify_result->cert_status |= CERT_STATUS_AUTHORITY_INVALID;
rv = MapCertStatusToNetError(verify_result->cert_status);
}
« no previous file with comments | « net/BUILD.gn ('k') | net/cert/cert_verify_proc_whitelist.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698