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

Unified Diff: net/cert/cert_verify_proc_unittest.cc

Issue 228883003: Remove known root detection logic on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « net/android/java/src/org/chromium/net/X509Util.java ('k') | 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 6567d1656fccc9e47c5f7435712dc39b27b26ae4..8f5156bc8631eafacd1f33ef9c2a1138ec672e44 100644
--- a/net/cert/cert_verify_proc_unittest.cc
+++ b/net/cert/cert_verify_proc_unittest.cc
@@ -97,10 +97,8 @@ bool SupportsReturningVerifiedChain() {
bool SupportsDetectingKnownRoots() {
#if defined(OS_ANDROID)
- // Before API level 17, Android does not expose the APIs necessary to get at
- // the verified certificate chain and detect known roots.
- if (base::android::BuildInfo::GetInstance()->sdk_int() < 17)
- return false;
+ // http://crbug.com/361166
+ return false;
#endif
return true;
}
« no previous file with comments | « net/android/java/src/org/chromium/net/X509Util.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698