diff options
Diffstat (limited to 'net/android/keystore_unittest.cc')
-rw-r--r-- | net/android/keystore_unittest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/android/keystore_unittest.cc b/net/android/keystore_unittest.cc index 98944e2..58e3da7 100644 --- a/net/android/keystore_unittest.cc +++ b/net/android/keystore_unittest.cc @@ -117,8 +117,7 @@ EVP_PKEY* ImportPrivateKeyFile(const char* filename) { // Load file in memory. base::FilePath certs_dir = GetTestCertsDirectory(); base::FilePath file_path = certs_dir.AppendASCII(filename); - ScopedStdioHandle handle( - file_util::OpenFile(file_path, "rb")); + ScopedStdioHandle handle(base::OpenFile(file_path, "rb")); if (!handle.get()) { LOG(ERROR) << "Could not open private key file: " << filename; return NULL; @@ -167,7 +166,7 @@ EVP_PKEY* ImportPublicKeyFile(const char* filename) { // Load file as PEM data. base::FilePath certs_dir = GetTestCertsDirectory(); base::FilePath file_path = certs_dir.AppendASCII(filename); - ScopedStdioHandle handle(file_util::OpenFile(file_path, "rb")); + ScopedStdioHandle handle(base::OpenFile(file_path, "rb")); if (!handle.get()) { LOG(ERROR) << "Could not open public key file: " << filename; return NULL; |