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

Unified Diff: runtime/bin/security_context_linux.cc

Issue 3001963002: [dart:io] Namespaces for file IO (Closed)
Patch Set: Fuchsia fix Created 3 years, 4 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 | « runtime/bin/security_context_fuchsia.cc ('k') | runtime/bin/snapshot_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/security_context_linux.cc
diff --git a/runtime/bin/security_context_linux.cc b/runtime/bin/security_context_linux.cc
index 0fd773771c83068a4db4ab596b5a921fa1e14d96..9c31dc0afcb4549ef59f6bf9d806208654351f8b 100644
--- a/runtime/bin/security_context_linux.cc
+++ b/runtime/bin/security_context_linux.cc
@@ -51,12 +51,12 @@ void SSLCertContext::TrustBuiltinRoots() {
// https://www.happyassassin.net/2015/01/12/a-note-about-ssltls-trusted-certificate-stores-and-platforms/
const char* bundle = "/etc/pki/tls/certs/ca-bundle.crt";
const char* cachedir = "/etc/ssl/certs";
- if (File::Exists(bundle)) {
+ if (File::Exists(NULL, bundle)) {
LoadRootCertFile(bundle);
return;
}
- if (Directory::Exists(cachedir) == Directory::EXISTS) {
+ if (Directory::Exists(NULL, cachedir) == Directory::EXISTS) {
LoadRootCertCache(cachedir);
return;
}
« no previous file with comments | « runtime/bin/security_context_fuchsia.cc ('k') | runtime/bin/snapshot_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698