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

Unified Diff: net/cert/cert_verify_proc_unittest.cc

Issue 2751673002: Don't run certificate algorithm mismatch tests on Sierra or later. (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/cert_verify_proc_unittest.cc
diff --git a/net/cert/cert_verify_proc_unittest.cc b/net/cert/cert_verify_proc_unittest.cc
index 66ce71383cecec479eb0d24bd8a4e1f57d698332..d4a08868fb57972758bc15d7f66f23d38334b1bb 100644
--- a/net/cert/cert_verify_proc_unittest.cc
+++ b/net/cert/cert_verify_proc_unittest.cc
@@ -649,6 +649,13 @@ class CertVerifyProcInspectSignatureAlgorithmsTest : public ::testing::Test {
LOG(INFO) << "Skipping test on iOS because certs with mismatched "
"algorithms cannot be imported";
return false;
+#elif defined(OS_MACOSX)
+ if (base::mac::IsAtLeastOS10_12()) {
+ LOG(INFO) << "Skipping test on macOS >= 10.12 because certs with "
+ "mismatched algorithms cannot be imported";
+ return false;
+ }
+ return true;
#else
return true;
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698