summaryrefslogtreecommitdiff
path: root/chromium/net/cert/internal/system_trust_store_nss_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/cert/internal/system_trust_store_nss_unittest.cc')
-rw-r--r--chromium/net/cert/internal/system_trust_store_nss_unittest.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/chromium/net/cert/internal/system_trust_store_nss_unittest.cc b/chromium/net/cert/internal/system_trust_store_nss_unittest.cc
index cd33c8dc862..1e80ea5f182 100644
--- a/chromium/net/cert/internal/system_trust_store_nss_unittest.cc
+++ b/chromium/net/cert/internal/system_trust_store_nss_unittest.cc
@@ -96,23 +96,6 @@ class SystemTrustStoreNSSTest : public ::testing::Test {
DISALLOW_COPY_AND_ASSIGN(SystemTrustStoreNSSTest);
};
-// Tests that SystemTrustStore respects TestRootCerts.
-TEST_F(SystemTrustStoreNSSTest, TrustTestRootCerts) {
- std::unique_ptr<SystemTrustStore> system_trust_store =
- CreateSslSystemTrustStore();
-
- EXPECT_TRUE(test_root_certs_->Add(root_cert_.get()));
- CertificateTrust trust;
- system_trust_store->GetTrustStore()->GetTrust(parsed_root_cert_.get(), &trust,
- /*debug_data=*/nullptr);
- EXPECT_EQ(CertificateTrustType::TRUSTED_ANCHOR, trust.type);
-
- test_root_certs_->Clear();
- system_trust_store->GetTrustStore()->GetTrust(parsed_root_cert_.get(), &trust,
- /*debug_data=*/nullptr);
- EXPECT_EQ(CertificateTrustType::UNSPECIFIED, trust.type);
-}
-
// Tests that SystemTrustStore created for NSS with a user-slot restriction
// allows certificates stored on the specified user slot to be trusted.
TEST_F(SystemTrustStoreNSSTest, UserSlotRestrictionAllows) {