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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac_unittest.cc

Issue 2813273003: Update the binary integrity incident designated requirement. (Closed)
Patch Set: Update the binary integrity incident designated requirement. Created 3 years, 8 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 | « chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac_unittest.cc
index 469b736e800631ce79f438bd47281e3dc2b792c9..a6f371b1a5a634f1fe0549ce324bede4a644bbe9 100644
--- a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac_unittest.cc
@@ -74,11 +74,11 @@ TEST_F(BinaryIntegrityAnalyzerMacTest, GetCriticalPathsAndRequirements) {
std::vector<PathAndRequirement> paths_and_requirements_expected;
std::string expected_req =
- "anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] "
- "exists and certificate leaf[field.1.2.840.113635.100.6.1.13] exists and "
- "certificate leaf[subject.OU]=\"EQHXZ8M8AV\" and "
- "(identifier=\"com.google.Chrome\" or "
- "identifier=\"com.google.Chrome.canary\")";
+ "(identifier \"com.google.Chrome\" or "
+ "identifier \"com.google.Chrome.beta\" or "
+ "identifier \"com.google.Chrome.dev\" or "
+ "identifier \"com.google.Chrome.canary\") "
+ "and certificate leaf = H\"c9a99324ca3fcb23dbcc36bd5fd4f9753305130a\")";
paths_and_requirements_expected.push_back(
PathAndRequirement(base::mac::OuterBundlePath(), expected_req));
« no previous file with comments | « chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698