Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Unified Diff: net/cert/nss_cert_database_unittest.cc

Issue 515813002: Regenerate the long-lived test certificates to use SHA-256 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@test_cert_scripts_2
Patch Set: Rebased Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/cert/nss_cert_database_unittest.cc
diff --git a/net/cert/nss_cert_database_unittest.cc b/net/cert/nss_cert_database_unittest.cc
index 97e9489927cd9519afa28562f65113b29644cb22..6007452e3d354a1b69e71365aa0b8d6572d0ced8 100644
--- a/net/cert/nss_cert_database_unittest.cc
+++ b/net/cert/nss_cert_database_unittest.cc
@@ -569,7 +569,7 @@ TEST_F(CertDatabaseNSSTest, DISABLED_ImportServerCert) {
TEST_F(CertDatabaseNSSTest, ImportServerCert_SelfSigned) {
CertificateList certs;
- ASSERT_TRUE(ReadCertIntoList("punycodetest.der", &certs));
+ ASSERT_TRUE(ReadCertIntoList("punycodetest.pem", &certs));
NSSCertDatabase::ImportCertFailureList failed;
EXPECT_TRUE(cert_db_->ImportServerCert(certs, NSSCertDatabase::TRUST_DEFAULT,
@@ -600,7 +600,7 @@ TEST_F(CertDatabaseNSSTest, ImportServerCert_SelfSigned) {
TEST_F(CertDatabaseNSSTest, ImportServerCert_SelfSigned_Trusted) {
CertificateList certs;
- ASSERT_TRUE(ReadCertIntoList("punycodetest.der", &certs));
+ ASSERT_TRUE(ReadCertIntoList("punycodetest.pem", &certs));
NSSCertDatabase::ImportCertFailureList failed;
EXPECT_TRUE(cert_db_->ImportServerCert(certs, NSSCertDatabase::TRUSTED_SSL,
« no previous file with comments | « net/cert/cert_verify_proc_unittest.cc ('k') | net/data/ssl/certificates/1024-rsa-ee-by-1024-rsa-intermediate.pem » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698