| Index: main.cc
|
| diff --git a/main.cc b/main.cc
|
| index a8d96f3ce742a11921fa830b399d79d22b13c2a7..144495c4bd4a7ce923df00835ee5d6c1b9b3ade7 100644
|
| --- a/main.cc
|
| +++ b/main.cc
|
| @@ -157,9 +157,15 @@ int main(int argc, char** argv) {
|
| if (file_util::PathExists(path))
|
| manifest = path.value();
|
|
|
| - path = FilePath(extension_path).Append("root_ca.pem");
|
| - if (file_util::PathExists(path))
|
| + path = FilePath(extension_path).Append("root-ca.pem");
|
| + if (file_util::PathExists(path)) {
|
| root_ca_file = path.value();
|
| + } else {
|
| + // Backwards compatibility for old filename with underscore.
|
| + path = FilePath(extension_path).Append("root_ca.pem");
|
| + if (file_util::PathExists(path))
|
| + root_ca_file = path.value();
|
| + }
|
| }
|
|
|
| // Command line switches for policy files override extension filepaths
|
|
|