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

Unified Diff: net/cert/cert_verify_proc_unittest.cc

Issue 1987793002: Remove Windows Vista/XP specific code from net/cert and net/ssl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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
« no previous file with comments | « no previous file | net/cert/test_root_certs_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/cert_verify_proc_unittest.cc
diff --git a/net/cert/cert_verify_proc_unittest.cc b/net/cert/cert_verify_proc_unittest.cc
index ba69033286c0ab3292398657a1ecdbab46d4b458..73f8fa3018017cb786469bed0c51774ec6db3844 100644
--- a/net/cert/cert_verify_proc_unittest.cc
+++ b/net/cert/cert_verify_proc_unittest.cc
@@ -310,23 +310,6 @@ TEST_F(CertVerifyProcTest, RejectExpiredCert) {
EXPECT_TRUE(verify_result.cert_status & CERT_STATUS_DATE_INVALID);
}
-// Test that verifying an ECDSA certificate doesn't crash on XP. (See
-// crbug.com/144466).
-TEST_F(CertVerifyProcTest, ECDSA_RSA) {
- base::FilePath certs_dir = GetTestCertsDirectory();
-
- scoped_refptr<X509Certificate> cert =
- ImportCertFromFile(certs_dir,
- "prime256v1-ecdsa-ee-by-1024-rsa-intermediate.pem");
-
- CertVerifyResult verify_result;
- Verify(cert.get(), "127.0.0.1", 0, NULL, empty_cert_list_, &verify_result);
-
- // We don't check verify_result because the certificate is signed by an
- // unknown CA and will be considered invalid on XP because of the ECDSA
- // public key.
-}
-
// Currently, only RSA and DSA keys are checked for weakness, and our example
// weak size is 768. These could change in the future.
//
« no previous file with comments | « no previous file | net/cert/test_root_certs_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698