Home
last modified time | relevance | path

Searched refs:tls_auth_file_ (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/shill/vpn/
Dopenvpn_driver.cc212 if (!tls_auth_file_.empty()) { in Cleanup()
213 base::DeleteFile(tls_auth_file_, false); in Cleanup()
214 tls_auth_file_.clear(); in Cleanup()
650 if (!base::CreateTemporaryFile(&tls_auth_file_) || in InitOptions()
651 base::WriteFile(tls_auth_file_, contents.data(), contents.size()) != in InitOptions()
658 AppendOption("tls-auth", tls_auth_file_.value(), options); in InitOptions()
Dopenvpn_driver_unittest.cc744 ASSERT_FALSE(driver_->tls_auth_file_.empty()); in TEST_F()
745 ExpectInFlags(options, "tls-auth", driver_->tls_auth_file_.value()); in TEST_F()
747 EXPECT_TRUE(base::ReadFileToString(driver_->tls_auth_file_, &contents)); in TEST_F()
1189 driver_->tls_auth_file_ = tls_auth_file; in TEST_F()
1211 EXPECT_TRUE(driver_->tls_auth_file_.empty()); in TEST_F()
Dopenvpn_driver.h282 base::FilePath tls_auth_file_; variable