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

Unified Diff: net/base/test_certificate_data.h

Issue 10790129: net: fix a couple of broken certificate tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 8 years, 5 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 | « net/base/cert_verify_proc_unittest.cc ('k') | net/data/ssl/certificates/certse.pem » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/test_certificate_data.h
diff --git a/net/base/test_certificate_data.h b/net/base/test_certificate_data.h
index 9c5229e86756d11b7daa1a5c3d82e867abb49de8..04798673f9ba6525f976cd6ca34d15c87d6c7668 100644
--- a/net/base/test_certificate_data.h
+++ b/net/base/test_certificate_data.h
@@ -9,6 +9,17 @@ static const char kNistSPKIHash[] =
"\x15\x60\xde\x65\x4e\x03\x9f\xd0\x08\x82"
"\xa9\x6a\xc4\x65\x8e\x6f\x92\x06\x84\x35";
+// kCertSESPKIs contains the SHA1 hashes of the SPKIs of the certse.pem
+// certificate chain, in order.
+static const char kCertSESPKIs[3][21] = {
+ "\x3f\x6c\xf3\xf1\xc9\xdf\xb6\x63\xa8\x05"
+ "\x44\x75\x9a\xac\x21\x4a\x74\xb2\xa5\xa4",
+ "\xae\x4a\xd7\xf9\xb3\x80\xe1\x12\x93\x32"
+ "\xbb\x52\xde\x5a\x09\x0c\x52\x1b\x33\xd0",
+ "\xb1\x81\x08\x1a\x19\xa4\xc0\x94\x1f\xfa"
+ "\xe8\x95\x28\xc1\x24\xc9\x9b\x34\xac\xc7",
+};
+
// Certificates for test data. They're obtained with:
//
// $ openssl s_client -connect [host]:443 -showcerts > /tmp/host.pem < /dev/null
« no previous file with comments | « net/base/cert_verify_proc_unittest.cc ('k') | net/data/ssl/certificates/certse.pem » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698