diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-20 16:28:44 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-20 16:28:44 +0000 |
commit | d321e740903790ded4fb750f30649528216c3312 (patch) | |
tree | 2fc332a718d97a22249d84fe6f66b35bd8c76061 /net/cert/cert_verify_proc_unittest.cc | |
parent | 3f768346a697fb927c7282bd2c72d7530804d3e2 (diff) | |
download | chromium_src-d321e740903790ded4fb750f30649528216c3312.zip chromium_src-d321e740903790ded4fb750f30649528216c3312.tar.gz chromium_src-d321e740903790ded4fb750f30649528216c3312.tar.bz2 |
Regenerate the root certificate and end-entity certificates used for various tests in net_unittests, now that Windows can temporarily trust certificates for the duration of tests.
In addition, add unittests for net::TestRootCerts, which depend on the certs being tested not being trusted by the system beforehand.
BUG=8470, 5552
TEST=TestRootCertsTest.*
TBR=zelidrag
Review URL: https://chromiumcodereview.appspot.com/5535006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207443 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/cert/cert_verify_proc_unittest.cc')
-rw-r--r-- | net/cert/cert_verify_proc_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/cert/cert_verify_proc_unittest.cc b/net/cert/cert_verify_proc_unittest.cc index eb9399f..b8c6c58 100644 --- a/net/cert/cert_verify_proc_unittest.cc +++ b/net/cert/cert_verify_proc_unittest.cc @@ -820,7 +820,7 @@ TEST_F(CertVerifyProcTest, AdditionalTrustAnchors) { // |ca_cert| is the issuer of |cert|. CertificateList ca_cert_list = CreateCertificateListFromFile( - GetTestCertsDirectory(), "root_ca_cert.crt", + GetTestCertsDirectory(), "root_ca_cert.pem", X509Certificate::FORMAT_AUTO); ASSERT_EQ(1U, ca_cert_list.size()); scoped_refptr<X509Certificate> ca_cert(ca_cert_list[0]); |