summaryrefslogtreecommitdiffstats
path: root/net/base/x509_certificate_unittest.cc
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 22:05:14 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 22:05:14 +0000
commitf2ece936f1ec85e684fe0a0712256106272190d1 (patch)
tree5f439274f8abfdc2e7318dadaca40d7fd2ad9a2d /net/base/x509_certificate_unittest.cc
parentb443cb04e44619ae051f85389d3fae5ff9258d5d (diff)
downloadchromium_src-f2ece936f1ec85e684fe0a0712256106272190d1.zip
chromium_src-f2ece936f1ec85e684fe0a0712256106272190d1.tar.gz
chromium_src-f2ece936f1ec85e684fe0a0712256106272190d1.tar.bz2
Get the new certificate for https://www.unosoft.hu/ and re-enable the
X509CertificateTest.UnoSoftCertParsing unit test. Add the https://www.unosoft.hu/ certificate as net/data/ssl/certificates/unosoft_hu_cert.der in preparation of changing the X509CertificateTest tests to read from external certificate data files. R=rvargas BUG=30345 TEST=X509CertificateTest.UnoSoftCertParsing should run and pass when running net_unittests. Review URL: http://codereview.chromium.org/495018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34612 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/x509_certificate_unittest.cc')
-rw-r--r--net/base/x509_certificate_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/base/x509_certificate_unittest.cc b/net/base/x509_certificate_unittest.cc
index 7a63607..7904cf0 100644
--- a/net/base/x509_certificate_unittest.cc
+++ b/net/base/x509_certificate_unittest.cc
@@ -66,8 +66,8 @@ unsigned char paypal_null_fingerprint[] = {
// A certificate for https://www.unosoft.hu/, whose AIA extension contains
// an LDAP URL without a host name.
unsigned char unosoft_hu_fingerprint[] = {
- 0x4c, 0x59, 0xab, 0xeb, 0x9f, 0x6f, 0x92, 0xc3, 0xa8, 0x4c, 0x45, 0x7c,
- 0xe4, 0x91, 0x47, 0x1e, 0x79, 0x3c, 0xc2, 0x8c
+ 0x32, 0xff, 0xe3, 0xbe, 0x2c, 0x3b, 0xc7, 0xca, 0xbf, 0x2d, 0x64, 0xbd,
+ 0x25, 0x66, 0xf2, 0xec, 0x8b, 0x0f, 0xbf, 0xd8
};
} // namespace
@@ -272,8 +272,8 @@ TEST(X509CertificateTest, PaypalNullCertParsing) {
#endif
}
-// Disabled this test because the certificate expired on 2009-12-04.
-TEST(X509CertificateTest, DISABLED_UnoSoftCertParsing) {
+// This certificate will expire on 2011-09-08.
+TEST(X509CertificateTest, UnoSoftCertParsing) {
scoped_refptr<X509Certificate> unosoft_hu_cert =
X509Certificate::CreateFromBytes(
reinterpret_cast<const char*>(unosoft_hu_der),