summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-09 15:02:28 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-09 15:02:28 +0000
commitcda3916eb3b89df71d7bbf51c920cacb68e31d98 (patch)
tree593e3045d6a97045d8337f7e0a7f808f4a42a4b2
parent393a14517a0daae24036f2a6bbb49f7c98682449 (diff)
downloadchromium_src-cda3916eb3b89df71d7bbf51c920cacb68e31d98.zip
chromium_src-cda3916eb3b89df71d7bbf51c920cacb68e31d98.tar.gz
chromium_src-cda3916eb3b89df71d7bbf51c920cacb68e31d98.tar.bz2
Merge 100220 - net: remove X509CertificateTest.UnoSoftCertParsing
The certificate has expired and broken the build TBR=wtc Review URL: http://codereview.chromium.org/7831054 TBR=agl@chromium.org Review URL: http://codereview.chromium.org/7859033 git-svn-id: svn://svn.chromium.org/chrome/branches/874/src@100406 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/base/x509_certificate_unittest.cc22
-rw-r--r--net/data/ssl/certificates/unosoft_hu_cert.derbin1411 -> 0 bytes
2 files changed, 0 insertions, 22 deletions
diff --git a/net/base/x509_certificate_unittest.cc b/net/base/x509_certificate_unittest.cc
index 7f891df..3bd8f83 100644
--- a/net/base/x509_certificate_unittest.cc
+++ b/net/base/x509_certificate_unittest.cc
@@ -402,28 +402,6 @@ TEST(X509CertificateTest, PaypalNullCertParsing) {
#endif
}
-// A certificate whose AIA extension contains an LDAP URL without a host name.
-// This certificate will expire on 2011-09-08.
-TEST(X509CertificateTest, UnoSoftCertParsing) {
- FilePath certs_dir = GetTestCertsDirectory();
- scoped_refptr<X509Certificate> unosoft_hu_cert(
- ImportCertFromFile(certs_dir, "unosoft_hu_cert.der"));
-
- ASSERT_NE(static_cast<X509Certificate*>(NULL), unosoft_hu_cert);
-
- const SHA1Fingerprint& fingerprint =
- unosoft_hu_cert->fingerprint();
- for (size_t i = 0; i < 20; ++i)
- EXPECT_EQ(unosoft_hu_fingerprint[i], fingerprint.data[i]);
-
- int flags = 0;
- CertVerifyResult verify_result;
- int error = unosoft_hu_cert->Verify("www.unosoft.hu", flags,
- &verify_result);
- EXPECT_EQ(ERR_CERT_AUTHORITY_INVALID, error);
- EXPECT_NE(0, verify_result.cert_status & CERT_STATUS_AUTHORITY_INVALID);
-}
-
TEST(X509CertificateTest, SerialNumbers) {
scoped_refptr<X509Certificate> google_cert(
X509Certificate::CreateFromBytes(
diff --git a/net/data/ssl/certificates/unosoft_hu_cert.der b/net/data/ssl/certificates/unosoft_hu_cert.der
deleted file mode 100644
index f072fa4..0000000
--- a/net/data/ssl/certificates/unosoft_hu_cert.der
+++ /dev/null
Binary files differ