summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-18 14:51:55 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-18 14:51:55 +0000
commit969b4063021a074b67029bffe2bb99c71c2cb984 (patch)
tree14fb38b02befc8d9e513999366e43c06a40c84c8 /net
parent854633e5aedab05ee42f0f189af86bd2c5fd6528 (diff)
downloadchromium_src-969b4063021a074b67029bffe2bb99c71c2cb984.zip
chromium_src-969b4063021a074b67029bffe2bb99c71c2cb984.tar.gz
chromium_src-969b4063021a074b67029bffe2bb99c71c2cb984.tar.bz2
net: Add two more blacklisted certificates.
TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/x509_certificate.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/base/x509_certificate.cc b/net/base/x509_certificate.cc
index ef6dfdd..ccc645d 100644
--- a/net/base/x509_certificate.cc
+++ b/net/base/x509_certificate.cc
@@ -475,7 +475,7 @@ X509Certificate::~X509Certificate() {
}
bool X509Certificate::IsBlacklisted() const {
- static const unsigned kNumSerials = 8;
+ static const unsigned kNumSerials = 10;
static const unsigned kSerialBytes = 16;
static const uint8 kSerials[kNumSerials][kSerialBytes] = {
// Not a real certificate. For testing only.
@@ -488,6 +488,8 @@ bool X509Certificate::IsBlacklisted() const {
{0x92,0x39,0xd5,0x34,0x8f,0x40,0xd1,0x69,0x5a,0x74,0x54,0x70,0xe1,0xf2,0x3f,0x43},
{0xd7,0x55,0x8f,0xda,0xf5,0xf1,0x10,0x5b,0xb2,0x13,0x28,0x2b,0x70,0x77,0x29,0xa3},
{0xf5,0xc8,0x6a,0xf3,0x61,0x62,0xf1,0x3a,0x64,0xf5,0x4f,0x6d,0xc9,0x58,0x7c,0x06},
+ {0x39,0x2a,0x43,0x4f,0x0e,0x07,0xdf,0x1f,0x8a,0xa3,0x05,0xde,0x34,0xe0,0xc2,0x29},
+ {0x3e,0x75,0xce,0xd4,0x6b,0x69,0x30,0x21,0x21,0x88,0x30,0xae,0x86,0xa8,0x2a,0x71},
};
if (serial_number_.size() == kSerialBytes) {