| Index: runtime/bin/security_context_fuchsia.cc
|
| diff --git a/runtime/bin/security_context_fuchsia.cc b/runtime/bin/security_context_fuchsia.cc
|
| index c49476bd6c59ef02db551d8735a33c66c840ba67..386ad5e7df658d685f7ab8f26c4be347a412df99 100644
|
| --- a/runtime/bin/security_context_fuchsia.cc
|
| +++ b/runtime/bin/security_context_fuchsia.cc
|
| @@ -44,12 +44,12 @@ void SSLCertContext::TrustBuiltinRoots() {
|
| return;
|
| }
|
|
|
| - // Fall back on the compiled-in certs if the standard locations don't exist,
|
| - // or we aren't on Linux.
|
| - if (SSL_LOG_STATUS) {
|
| - Log::Print("Trusting compiled-in roots\n");
|
| + const char* bundle = "/system/data/boringssl/cert.pem";
|
| + if (!File::Exists(bundle)) {
|
| + FATAL1("Failed to find trusted certs at %s\n", bundle);
|
| }
|
| - AddCompiledInCerts();
|
| +
|
| + LoadRootCertFile(bundle);
|
| }
|
|
|
|
|
|
|